diff --git a/GraphPlayer.php b/GraphPlayer.php index fa79d93..f576ad3 100755 --- a/GraphPlayer.php +++ b/GraphPlayer.php @@ -2,8 +2,8 @@ //ini_set('display_errors', 'on'); -include_once('SQL/consql.php'); -include_once('SQL/config.php'); + include_once('config/config.php'); + include_once('config/consql.php'); // MYSQL table // $StatServer = "StatServer_20"; // set in consql.php diff --git a/SQ_/BaseSocket.php b/config/SQ_/BaseSocket.php similarity index 100% rename from SQ_/BaseSocket.php rename to config/SQ_/BaseSocket.php diff --git a/SQ_/Buffer.php b/config/SQ_/Buffer.php similarity index 100% rename from SQ_/Buffer.php rename to config/SQ_/Buffer.php diff --git a/SQ_/Exception/AuthenticationException.php b/config/SQ_/Exception/AuthenticationException.php similarity index 100% rename from SQ_/Exception/AuthenticationException.php rename to config/SQ_/Exception/AuthenticationException.php diff --git a/SQ_/Exception/InvalidArgumentException.php b/config/SQ_/Exception/InvalidArgumentException.php similarity index 100% rename from SQ_/Exception/InvalidArgumentException.php rename to config/SQ_/Exception/InvalidArgumentException.php diff --git a/SQ_/Exception/InvalidPacketException.php b/config/SQ_/Exception/InvalidPacketException.php similarity index 100% rename from SQ_/Exception/InvalidPacketException.php rename to config/SQ_/Exception/InvalidPacketException.php diff --git a/SQ_/Exception/SocketException.php b/config/SQ_/Exception/SocketException.php similarity index 100% rename from SQ_/Exception/SocketException.php rename to config/SQ_/Exception/SocketException.php diff --git a/SQ_/Exception/SourceQueryException.php b/config/SQ_/Exception/SourceQueryException.php similarity index 100% rename from SQ_/Exception/SourceQueryException.php rename to config/SQ_/Exception/SourceQueryException.php diff --git a/SQ_/Exception/TimeoutException.php b/config/SQ_/Exception/TimeoutException.php similarity index 100% rename from SQ_/Exception/TimeoutException.php rename to config/SQ_/Exception/TimeoutException.php diff --git a/SQ_/GoldSourceRcon.php b/config/SQ_/GoldSourceRcon.php similarity index 100% rename from SQ_/GoldSourceRcon.php rename to config/SQ_/GoldSourceRcon.php diff --git a/SQ_/Socket.php b/config/SQ_/Socket.php similarity index 100% rename from SQ_/Socket.php rename to config/SQ_/Socket.php diff --git a/SQ_/SourceQuery.php b/config/SQ_/SourceQuery.php similarity index 100% rename from SQ_/SourceQuery.php rename to config/SQ_/SourceQuery.php diff --git a/SQ_/SourceRcon.php b/config/SQ_/SourceRcon.php similarity index 100% rename from SQ_/SourceRcon.php rename to config/SQ_/SourceRcon.php diff --git a/SQ_/bootstrap.php b/config/SQ_/bootstrap.php similarity index 100% rename from SQ_/bootstrap.php rename to config/SQ_/bootstrap.php diff --git a/SQL/config.php b/config/config.php similarity index 100% rename from SQL/config.php rename to config/config.php diff --git a/SQL/consql.php b/config/consql.php similarity index 100% rename from SQL/consql.php rename to config/consql.php diff --git a/SQL/dayz2json_parser_sql.php b/config/dayz2json_parser_sql.php similarity index 100% rename from SQL/dayz2json_parser_sql.php rename to config/dayz2json_parser_sql.php diff --git a/SQL/regex_statserver_json.php b/config/regex_statserver_json.php similarity index 99% rename from SQL/regex_statserver_json.php rename to config/regex_statserver_json.php index a90f75e..70536be 100644 --- a/SQL/regex_statserver_json.php +++ b/config/regex_statserver_json.php @@ -3,7 +3,7 @@ ini_set('display_errors', 1); error_reporting(E_ALL); // Display all types of error //set_time_limit ( 4 ); // Max execution time is set to 4 seconds -include_once('../config.php'); +include_once('config.php'); // print json server echo "
"; diff --git a/SQL/statserver_json.sh b/config/statserver_json.sh similarity index 100% rename from SQL/statserver_json.sh rename to config/statserver_json.sh diff --git a/SQL/table.sql b/config/table.sql similarity index 100% rename from SQL/table.sql rename to config/table.sql diff --git a/index.php b/index.php index 01851ed..1f1770e 100644 --- a/index.php +++ b/index.php @@ -7,8 +7,9 @@ $sec = "300"; //ini_set('display_errors', 'on'); //error_reporting(E_ALL); // Display all types of error - include_once('SQL/consql.php'); - include_once('SQL/config.php'); + + include_once('config/config.php'); + include_once('config/consql.php'); ?> diff --git a/server.json.php b/server.json.php index 8520408..0cc2975 100644 --- a/server.json.php +++ b/server.json.php @@ -4,7 +4,10 @@ // MAKE json //header("Content-Type: application/json; charset=UTF-8; pageEncoding=UTF-8"); -include_once('config.php'); + + include_once('config/config.php'); +// include_once('config/consql.php'); + /* $out = array_values($Info);