From 02d4bd1144078ec3c5809177068a6e553d48e8b6 Mon Sep 17 00:00:00 2001
From: magikcypress
Date: Mon, 1 May 2017 16:32:47 +0200
Subject: [PATCH] [fix] delete source files
---
sources/conf/sample/setup.ini | 14 --
sources/index.php | 223 --------------------------------
sources/lib/jquery-2.1.3.min.js | 4 -
sources/post.php | 29 -----
sources/server.php | 33 -----
sources/style.css | 75 -----------
6 files changed, 378 deletions(-)
delete mode 100644 sources/conf/sample/setup.ini
delete mode 100644 sources/index.php
delete mode 100644 sources/lib/jquery-2.1.3.min.js
delete mode 100644 sources/post.php
delete mode 100644 sources/server.php
delete mode 100644 sources/style.css
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.";}
-}
-
-?>
-
-
-
- Minchat - room
-
-
-
-
';
- echo $err;
- echo $prompt;
- echo '
';
- } else {
- deleteOldHistory();
-// Enter the room
- ?>
-