diff --git a/sources/conf/sample/setup.ini b/sources/conf/sample/setup.ini deleted file mode 100644 index 889f270..0000000 --- a/sources/conf/sample/setup.ini +++ /dev/null @@ -1,14 +0,0 @@ -; how often get data from serwer -interval = 5000 ; milliseconds - -; Authorizations (comma separated) -auth=*: -; Explanations: -; *: (default) means all users can access the no name room -; user:room means the user is allowed to room -; *:room is a room opened to all -; user:* is a user allowed to any room -; user: is a user allowed to the no name room -; Example: -;auth = John:Game,John:Family,Mary:Game,Tim:Family,admin:*,*:Public,*: - diff --git a/sources/index.php b/sources/index.php deleted file mode 100644 index 7271688..0000000 --- a/sources/index.php +++ /dev/null @@ -1,223 +0,0 @@ -User name missing.";} - else if ($room=="") { -// room not mandatory depending on setup - if (in_array("*:",$auth)||in_array($name.":",$auth)){$prompt="";} - else {$prompt="Room missing.";} - } -// here we have both room and user - else if (in_array($name.":".$room,$auth)||in_array("*:".$room,$auth)||in_array($name.":*",$auth)||in_array("*:*",$auth)) {$prompt="";} - else {$prompt="User not authorized to this room.";} -} - -?> - - -
-'; - echo $err; - echo $prompt; - echo '
'; - } else { - deleteOldHistory(); -// Enter the room - ?> -