From 0cf771f8b3b15bf2462409ce8b92e7c643bb9422 Mon Sep 17 00:00:00 2001 From: tokslaw7 Date: Sun, 16 Apr 2023 00:43:24 +0000 Subject: [PATCH] Code Igniter fixes --- www-api/logs/access.log | 12 +++++++++++ www-api/logs/error.log | 12 +++++++++++ www-api/nginx/nginx.conf | 20 ++++++++++++------- .../{database => Database}/BaseBuilder.php | 0 .../{database => Database}/BaseConnection.php | 0 .../BasePreparedQuery.php | 0 .../{database => Database}/BaseResult.php | 0 .../{database => Database}/BaseUtils.php | 0 .../system/{database => Database}/Config.php | 0 .../ConnectionInterface.php | 0 .../{database => Database}/Database.php | 0 .../Exceptions/DataException.php | 0 .../Exceptions/DatabaseException.php | 0 .../Exceptions/ExceptionInterface.php | 0 .../system/{database => Database}/Forge.php | 0 .../{database => Database}/Migration.php | 0 .../MigrationRunner.php | 0 .../{database => Database}/ModelFactory.php | 0 .../{database => Database}/MySQLi/Builder.php | 0 .../MySQLi/Connection.php | 0 .../{database => Database}/MySQLi/Forge.php | 0 .../MySQLi/PreparedQuery.php | 0 .../{database => Database}/MySQLi/Result.php | 0 .../{database => Database}/MySQLi/Utils.php | 0 .../{database => Database}/OCI8/Builder.php | 0 .../OCI8/Connection.php | 0 .../{database => Database}/OCI8/Forge.php | 0 .../OCI8/PreparedQuery.php | 0 .../{database => Database}/OCI8/Result.php | 0 .../{database => Database}/OCI8/Utils.php | 0 .../Postgre/Builder.php | 0 .../Postgre/Connection.php | 0 .../{database => Database}/Postgre/Forge.php | 0 .../Postgre/PreparedQuery.php | 0 .../{database => Database}/Postgre/Result.php | 0 .../{database => Database}/Postgre/Utils.php | 0 .../PreparedQueryInterface.php | 0 .../system/{database => Database}/Query.php | 0 .../{database => Database}/QueryInterface.php | 0 .../system/{database => Database}/RawSql.php | 0 .../ResultInterface.php | 0 .../{database => Database}/SQLSRV/Builder.php | 0 .../SQLSRV/Connection.php | 0 .../{database => Database}/SQLSRV/Forge.php | 0 .../SQLSRV/PreparedQuery.php | 0 .../{database => Database}/SQLSRV/Result.php | 0 .../{database => Database}/SQLSRV/Utils.php | 0 .../SQLite3/Builder.php | 0 .../SQLite3/Connection.php | 0 .../{database => Database}/SQLite3/Forge.php | 0 .../SQLite3/PreparedQuery.php | 0 .../{database => Database}/SQLite3/Result.php | 0 .../{database => Database}/SQLite3/Table.php | 0 .../{database => Database}/SQLite3/Utils.php | 0 .../system/{database => Database}/Seeder.php | 0 .../{helpers => Helpers}/array_helper.php | 0 .../{helpers => Helpers}/cookie_helper.php | 0 .../{helpers => Helpers}/date_helper.php | 0 .../filesystem_helper.php | 0 .../{helpers => Helpers}/form_helper.php | 0 .../{helpers => Helpers}/html_helper.php | 0 .../{helpers => Helpers}/inflector_helper.php | 0 .../{helpers => Helpers}/number_helper.php | 0 .../{helpers => Helpers}/security_helper.php | 0 .../{helpers => Helpers}/test_helper.php | 0 .../{helpers => Helpers}/text_helper.php | 0 .../{helpers => Helpers}/url_helper.php | 0 .../{helpers => Helpers}/xml_helper.php | 0 .../{language => Language}/Language.php | 0 .../system/{language => Language}/en/CLI.php | 0 .../{language => Language}/en/Cache.php | 0 .../system/{language => Language}/en/Cast.php | 0 .../{language => Language}/en/Cookie.php | 0 .../system/{language => Language}/en/Core.php | 0 .../{language => Language}/en/Database.php | 0 .../{language => Language}/en/Email.php | 0 .../{language => Language}/en/Encryption.php | 0 .../{language => Language}/en/Fabricator.php | 0 .../{language => Language}/en/Files.php | 0 .../{language => Language}/en/Filters.php | 0 .../{language => Language}/en/Format.php | 0 .../system/{language => Language}/en/HTTP.php | 0 .../{language => Language}/en/Images.php | 0 .../system/{language => Language}/en/Log.php | 0 .../{language => Language}/en/Migrations.php | 0 .../{language => Language}/en/Number.php | 0 .../{language => Language}/en/Pager.php | 0 .../{language => Language}/en/Publisher.php | 0 .../{language => Language}/en/RESTful.php | 0 .../{language => Language}/en/Router.php | 0 .../{language => Language}/en/Security.php | 0 .../{language => Language}/en/Session.php | 0 .../system/{language => Language}/en/Test.php | 0 .../system/{language => Language}/en/Time.php | 0 .../{language => Language}/en/Validation.php | 0 .../system/{language => Language}/en/View.php | 0 96 files changed, 37 insertions(+), 7 deletions(-) rename www-api/system/{database => Database}/BaseBuilder.php (100%) rename www-api/system/{database => Database}/BaseConnection.php (100%) rename www-api/system/{database => Database}/BasePreparedQuery.php (100%) rename www-api/system/{database => Database}/BaseResult.php (100%) rename www-api/system/{database => Database}/BaseUtils.php (100%) rename www-api/system/{database => Database}/Config.php (100%) rename www-api/system/{database => Database}/ConnectionInterface.php (100%) rename www-api/system/{database => Database}/Database.php (100%) rename www-api/system/{database => Database}/Exceptions/DataException.php (100%) rename www-api/system/{database => Database}/Exceptions/DatabaseException.php (100%) rename www-api/system/{database => Database}/Exceptions/ExceptionInterface.php (100%) rename www-api/system/{database => Database}/Forge.php (100%) rename www-api/system/{database => Database}/Migration.php (100%) rename www-api/system/{database => Database}/MigrationRunner.php (100%) rename www-api/system/{database => Database}/ModelFactory.php (100%) rename www-api/system/{database => Database}/MySQLi/Builder.php (100%) rename www-api/system/{database => Database}/MySQLi/Connection.php (100%) rename www-api/system/{database => Database}/MySQLi/Forge.php (100%) rename www-api/system/{database => Database}/MySQLi/PreparedQuery.php (100%) rename www-api/system/{database => Database}/MySQLi/Result.php (100%) rename www-api/system/{database => Database}/MySQLi/Utils.php (100%) rename www-api/system/{database => Database}/OCI8/Builder.php (100%) rename www-api/system/{database => Database}/OCI8/Connection.php (100%) rename www-api/system/{database => Database}/OCI8/Forge.php (100%) rename www-api/system/{database => Database}/OCI8/PreparedQuery.php (100%) rename www-api/system/{database => Database}/OCI8/Result.php (100%) rename www-api/system/{database => Database}/OCI8/Utils.php (100%) rename www-api/system/{database => Database}/Postgre/Builder.php (100%) rename www-api/system/{database => Database}/Postgre/Connection.php (100%) rename www-api/system/{database => Database}/Postgre/Forge.php (100%) rename www-api/system/{database => Database}/Postgre/PreparedQuery.php (100%) rename www-api/system/{database => Database}/Postgre/Result.php (100%) rename www-api/system/{database => Database}/Postgre/Utils.php (100%) rename www-api/system/{database => Database}/PreparedQueryInterface.php (100%) rename www-api/system/{database => Database}/Query.php (100%) rename www-api/system/{database => Database}/QueryInterface.php (100%) rename www-api/system/{database => Database}/RawSql.php (100%) rename www-api/system/{database => Database}/ResultInterface.php (100%) rename www-api/system/{database => Database}/SQLSRV/Builder.php (100%) rename www-api/system/{database => Database}/SQLSRV/Connection.php (100%) rename www-api/system/{database => Database}/SQLSRV/Forge.php (100%) rename www-api/system/{database => Database}/SQLSRV/PreparedQuery.php (100%) rename www-api/system/{database => Database}/SQLSRV/Result.php (100%) rename www-api/system/{database => Database}/SQLSRV/Utils.php (100%) rename www-api/system/{database => Database}/SQLite3/Builder.php (100%) rename www-api/system/{database => Database}/SQLite3/Connection.php (100%) rename www-api/system/{database => Database}/SQLite3/Forge.php (100%) rename www-api/system/{database => Database}/SQLite3/PreparedQuery.php (100%) rename www-api/system/{database => Database}/SQLite3/Result.php (100%) rename www-api/system/{database => Database}/SQLite3/Table.php (100%) rename www-api/system/{database => Database}/SQLite3/Utils.php (100%) rename www-api/system/{database => Database}/Seeder.php (100%) rename www-api/system/{helpers => Helpers}/array_helper.php (100%) rename www-api/system/{helpers => Helpers}/cookie_helper.php (100%) rename www-api/system/{helpers => Helpers}/date_helper.php (100%) rename www-api/system/{helpers => Helpers}/filesystem_helper.php (100%) rename www-api/system/{helpers => Helpers}/form_helper.php (100%) rename www-api/system/{helpers => Helpers}/html_helper.php (100%) rename www-api/system/{helpers => Helpers}/inflector_helper.php (100%) rename www-api/system/{helpers => Helpers}/number_helper.php (100%) rename www-api/system/{helpers => Helpers}/security_helper.php (100%) rename www-api/system/{helpers => Helpers}/test_helper.php (100%) rename www-api/system/{helpers => Helpers}/text_helper.php (100%) rename www-api/system/{helpers => Helpers}/url_helper.php (100%) rename www-api/system/{helpers => Helpers}/xml_helper.php (100%) rename www-api/system/{language => Language}/Language.php (100%) rename www-api/system/{language => Language}/en/CLI.php (100%) rename www-api/system/{language => Language}/en/Cache.php (100%) rename www-api/system/{language => Language}/en/Cast.php (100%) rename www-api/system/{language => Language}/en/Cookie.php (100%) rename www-api/system/{language => Language}/en/Core.php (100%) rename www-api/system/{language => Language}/en/Database.php (100%) rename www-api/system/{language => Language}/en/Email.php (100%) rename www-api/system/{language => Language}/en/Encryption.php (100%) rename www-api/system/{language => Language}/en/Fabricator.php (100%) rename www-api/system/{language => Language}/en/Files.php (100%) rename www-api/system/{language => Language}/en/Filters.php (100%) rename www-api/system/{language => Language}/en/Format.php (100%) rename www-api/system/{language => Language}/en/HTTP.php (100%) rename www-api/system/{language => Language}/en/Images.php (100%) rename www-api/system/{language => Language}/en/Log.php (100%) rename www-api/system/{language => Language}/en/Migrations.php (100%) rename www-api/system/{language => Language}/en/Number.php (100%) rename www-api/system/{language => Language}/en/Pager.php (100%) rename www-api/system/{language => Language}/en/Publisher.php (100%) rename www-api/system/{language => Language}/en/RESTful.php (100%) rename www-api/system/{language => Language}/en/Router.php (100%) rename www-api/system/{language => Language}/en/Security.php (100%) rename www-api/system/{language => Language}/en/Session.php (100%) rename www-api/system/{language => Language}/en/Test.php (100%) rename www-api/system/{language => Language}/en/Time.php (100%) rename www-api/system/{language => Language}/en/Validation.php (100%) rename www-api/system/{language => Language}/en/View.php (100%) diff --git a/www-api/logs/access.log b/www-api/logs/access.log index 0be43f07..da68bfd6 100644 --- a/www-api/logs/access.log +++ b/www-api/logs/access.log @@ -114,3 +114,15 @@ 172.19.0.1 - - [11/Dec/2022:03:36:07 +0000] "GET / HTTP/1.1" 502 552 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36" 172.19.0.1 - - [11/Dec/2022:03:41:58 +0000] "GET / HTTP/1.1" 502 552 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36" 172.19.0.1 - - [11/Dec/2022:03:43:51 +0000] "GET / HTTP/1.1" 200 1420 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36" +10.10.33.13 - - [16/Apr/2023:00:30:11 +0000] "GET /en/wrench/api/v1/getjob HTTP/1.1" 500 3589 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36" +10.10.33.13 - - [16/Apr/2023:00:31:01 +0000] "GET / HTTP/1.1" 500 3589 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36" +10.10.33.13 - - [16/Apr/2023:00:32:54 +0000] "GET /index.php HTTP/1.1" 500 3589 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36" +10.0.0.245 - - [16/Apr/2023:00:35:49 +0000] "GET / HTTP/1.1" 500 3589 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36 Edg/112.0.1722.39" +10.0.0.245 - - [16/Apr/2023:00:35:50 +0000] "GET /favicon.ico HTTP/1.1" 200 15148 "http://10.204.5.100:9083/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36 Edg/112.0.1722.39" +10.10.33.13 - - [16/Apr/2023:00:40:46 +0000] "GET /index.php HTTP/1.1" 200 17752 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36" +10.10.33.13 - - [16/Apr/2023:00:40:52 +0000] "GET / HTTP/1.1" 200 17751 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36" +10.10.33.13 - - [16/Apr/2023:00:41:19 +0000] "GET /en/wrench/api/v1/getjob HTTP/1.1" 404 1939 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36" +10.0.0.245 - - [16/Apr/2023:00:41:21 +0000] "GET / HTTP/1.1" 200 17752 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36 Edg/112.0.1722.39" +10.0.0.245 - - [16/Apr/2023:00:41:40 +0000] "GET / HTTP/1.1" 200 17752 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36 Edg/112.0.1722.39" +10.0.0.245 - - [16/Apr/2023:00:42:04 +0000] "GET /en/wrench/api/v1/getjob HTTP/1.1" 404 1939 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36 Edg/112.0.1722.39" +10.10.33.13 - - [16/Apr/2023:00:42:10 +0000] "GET /svs/user/userve.php HTTP/1.1" 400 48 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36" diff --git a/www-api/logs/error.log b/www-api/logs/error.log index f0c4e508..830897f7 100644 --- a/www-api/logs/error.log +++ b/www-api/logs/error.log @@ -169,3 +169,15 @@ Stack trace: 2022/12/17 22:33:26 [notice] 1#1: start worker processes 2022/12/17 22:33:26 [notice] 1#1: start worker process 22 2022/12/17 22:33:26 [notice] 1#1: start worker process 23 +2023/04/16 00:29:46 [notice] 1#1: using the "epoll" event method +2023/04/16 00:29:46 [notice] 1#1: nginx/1.23.4 +2023/04/16 00:29:46 [notice] 1#1: built by gcc 10.2.1 20210110 (Debian 10.2.1-6) +2023/04/16 00:29:46 [notice] 1#1: OS: Linux 5.4.0-146-generic +2023/04/16 00:29:46 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576 +2023/04/16 00:29:46 [notice] 1#1: start worker processes +2023/04/16 00:29:46 [notice] 1#1: start worker process 29 +2023/04/16 00:29:46 [notice] 1#1: start worker process 30 +2023/04/16 00:33:54 [info] 29#29: *6 client timed out (110: Connection timed out) while waiting for request, client: 10.10.33.13, server: 0.0.0.0:80 +2023/04/16 00:36:49 [info] 29#29: *9 client timed out (110: Connection timed out) while waiting for request, client: 10.0.0.245, server: 0.0.0.0:80 +2023/04/16 00:41:46 [info] 29#29: *12 client timed out (110: Connection timed out) while waiting for request, client: 10.10.33.13, server: 0.0.0.0:80 +2023/04/16 00:42:21 [info] 29#29: *16 client timed out (110: Connection timed out) while waiting for request, client: 10.0.0.245, server: 0.0.0.0:80 diff --git a/www-api/nginx/nginx.conf b/www-api/nginx/nginx.conf index f4195efb..e3a9b8a7 100644 --- a/www-api/nginx/nginx.conf +++ b/www-api/nginx/nginx.conf @@ -36,14 +36,20 @@ http { } location / { - # Check if a file or directory index file exists, else route it to index.php. - try_files $uri $uri/ /index.php; + try_files $uri $uri/ /index.php$is_args$args; + } - location = /index.php { - fastcgi_pass host.docker.internal:9999; - fastcgi_param SCRIPT_FILENAME /opt/mainsite/wrenchboard/www-api/public$fastcgi_script_name; - include fastcgi_params; - } + location ~ \.php$ { + fastcgi_pass host.docker.internal:9999; + fastcgi_param SCRIPT_FILENAME /opt/mainsite/wrenchboard/www-api/public$fastcgi_script_name; + include fastcgi_params; + } + + error_page 404 /index.php; + + # deny access to hidden files such as .htaccess + location ~ /\. { + deny all; } location /svs/bko/ { diff --git a/www-api/system/database/BaseBuilder.php b/www-api/system/Database/BaseBuilder.php similarity index 100% rename from www-api/system/database/BaseBuilder.php rename to www-api/system/Database/BaseBuilder.php diff --git a/www-api/system/database/BaseConnection.php b/www-api/system/Database/BaseConnection.php similarity index 100% rename from www-api/system/database/BaseConnection.php rename to www-api/system/Database/BaseConnection.php diff --git a/www-api/system/database/BasePreparedQuery.php b/www-api/system/Database/BasePreparedQuery.php similarity index 100% rename from www-api/system/database/BasePreparedQuery.php rename to www-api/system/Database/BasePreparedQuery.php diff --git a/www-api/system/database/BaseResult.php b/www-api/system/Database/BaseResult.php similarity index 100% rename from www-api/system/database/BaseResult.php rename to www-api/system/Database/BaseResult.php diff --git a/www-api/system/database/BaseUtils.php b/www-api/system/Database/BaseUtils.php similarity index 100% rename from www-api/system/database/BaseUtils.php rename to www-api/system/Database/BaseUtils.php diff --git a/www-api/system/database/Config.php b/www-api/system/Database/Config.php similarity index 100% rename from www-api/system/database/Config.php rename to www-api/system/Database/Config.php diff --git a/www-api/system/database/ConnectionInterface.php b/www-api/system/Database/ConnectionInterface.php similarity index 100% rename from www-api/system/database/ConnectionInterface.php rename to www-api/system/Database/ConnectionInterface.php diff --git a/www-api/system/database/Database.php b/www-api/system/Database/Database.php similarity index 100% rename from www-api/system/database/Database.php rename to www-api/system/Database/Database.php diff --git a/www-api/system/database/Exceptions/DataException.php b/www-api/system/Database/Exceptions/DataException.php similarity index 100% rename from www-api/system/database/Exceptions/DataException.php rename to www-api/system/Database/Exceptions/DataException.php diff --git a/www-api/system/database/Exceptions/DatabaseException.php b/www-api/system/Database/Exceptions/DatabaseException.php similarity index 100% rename from www-api/system/database/Exceptions/DatabaseException.php rename to www-api/system/Database/Exceptions/DatabaseException.php diff --git a/www-api/system/database/Exceptions/ExceptionInterface.php b/www-api/system/Database/Exceptions/ExceptionInterface.php similarity index 100% rename from www-api/system/database/Exceptions/ExceptionInterface.php rename to www-api/system/Database/Exceptions/ExceptionInterface.php diff --git a/www-api/system/database/Forge.php b/www-api/system/Database/Forge.php similarity index 100% rename from www-api/system/database/Forge.php rename to www-api/system/Database/Forge.php diff --git a/www-api/system/database/Migration.php b/www-api/system/Database/Migration.php similarity index 100% rename from www-api/system/database/Migration.php rename to www-api/system/Database/Migration.php diff --git a/www-api/system/database/MigrationRunner.php b/www-api/system/Database/MigrationRunner.php similarity index 100% rename from www-api/system/database/MigrationRunner.php rename to www-api/system/Database/MigrationRunner.php diff --git a/www-api/system/database/ModelFactory.php b/www-api/system/Database/ModelFactory.php similarity index 100% rename from www-api/system/database/ModelFactory.php rename to www-api/system/Database/ModelFactory.php diff --git a/www-api/system/database/MySQLi/Builder.php b/www-api/system/Database/MySQLi/Builder.php similarity index 100% rename from www-api/system/database/MySQLi/Builder.php rename to www-api/system/Database/MySQLi/Builder.php diff --git a/www-api/system/database/MySQLi/Connection.php b/www-api/system/Database/MySQLi/Connection.php similarity index 100% rename from www-api/system/database/MySQLi/Connection.php rename to www-api/system/Database/MySQLi/Connection.php diff --git a/www-api/system/database/MySQLi/Forge.php b/www-api/system/Database/MySQLi/Forge.php similarity index 100% rename from www-api/system/database/MySQLi/Forge.php rename to www-api/system/Database/MySQLi/Forge.php diff --git a/www-api/system/database/MySQLi/PreparedQuery.php b/www-api/system/Database/MySQLi/PreparedQuery.php similarity index 100% rename from www-api/system/database/MySQLi/PreparedQuery.php rename to www-api/system/Database/MySQLi/PreparedQuery.php diff --git a/www-api/system/database/MySQLi/Result.php b/www-api/system/Database/MySQLi/Result.php similarity index 100% rename from www-api/system/database/MySQLi/Result.php rename to www-api/system/Database/MySQLi/Result.php diff --git a/www-api/system/database/MySQLi/Utils.php b/www-api/system/Database/MySQLi/Utils.php similarity index 100% rename from www-api/system/database/MySQLi/Utils.php rename to www-api/system/Database/MySQLi/Utils.php diff --git a/www-api/system/database/OCI8/Builder.php b/www-api/system/Database/OCI8/Builder.php similarity index 100% rename from www-api/system/database/OCI8/Builder.php rename to www-api/system/Database/OCI8/Builder.php diff --git a/www-api/system/database/OCI8/Connection.php b/www-api/system/Database/OCI8/Connection.php similarity index 100% rename from www-api/system/database/OCI8/Connection.php rename to www-api/system/Database/OCI8/Connection.php diff --git a/www-api/system/database/OCI8/Forge.php b/www-api/system/Database/OCI8/Forge.php similarity index 100% rename from www-api/system/database/OCI8/Forge.php rename to www-api/system/Database/OCI8/Forge.php diff --git a/www-api/system/database/OCI8/PreparedQuery.php b/www-api/system/Database/OCI8/PreparedQuery.php similarity index 100% rename from www-api/system/database/OCI8/PreparedQuery.php rename to www-api/system/Database/OCI8/PreparedQuery.php diff --git a/www-api/system/database/OCI8/Result.php b/www-api/system/Database/OCI8/Result.php similarity index 100% rename from www-api/system/database/OCI8/Result.php rename to www-api/system/Database/OCI8/Result.php diff --git a/www-api/system/database/OCI8/Utils.php b/www-api/system/Database/OCI8/Utils.php similarity index 100% rename from www-api/system/database/OCI8/Utils.php rename to www-api/system/Database/OCI8/Utils.php diff --git a/www-api/system/database/Postgre/Builder.php b/www-api/system/Database/Postgre/Builder.php similarity index 100% rename from www-api/system/database/Postgre/Builder.php rename to www-api/system/Database/Postgre/Builder.php diff --git a/www-api/system/database/Postgre/Connection.php b/www-api/system/Database/Postgre/Connection.php similarity index 100% rename from www-api/system/database/Postgre/Connection.php rename to www-api/system/Database/Postgre/Connection.php diff --git a/www-api/system/database/Postgre/Forge.php b/www-api/system/Database/Postgre/Forge.php similarity index 100% rename from www-api/system/database/Postgre/Forge.php rename to www-api/system/Database/Postgre/Forge.php diff --git a/www-api/system/database/Postgre/PreparedQuery.php b/www-api/system/Database/Postgre/PreparedQuery.php similarity index 100% rename from www-api/system/database/Postgre/PreparedQuery.php rename to www-api/system/Database/Postgre/PreparedQuery.php diff --git a/www-api/system/database/Postgre/Result.php b/www-api/system/Database/Postgre/Result.php similarity index 100% rename from www-api/system/database/Postgre/Result.php rename to www-api/system/Database/Postgre/Result.php diff --git a/www-api/system/database/Postgre/Utils.php b/www-api/system/Database/Postgre/Utils.php similarity index 100% rename from www-api/system/database/Postgre/Utils.php rename to www-api/system/Database/Postgre/Utils.php diff --git a/www-api/system/database/PreparedQueryInterface.php b/www-api/system/Database/PreparedQueryInterface.php similarity index 100% rename from www-api/system/database/PreparedQueryInterface.php rename to www-api/system/Database/PreparedQueryInterface.php diff --git a/www-api/system/database/Query.php b/www-api/system/Database/Query.php similarity index 100% rename from www-api/system/database/Query.php rename to www-api/system/Database/Query.php diff --git a/www-api/system/database/QueryInterface.php b/www-api/system/Database/QueryInterface.php similarity index 100% rename from www-api/system/database/QueryInterface.php rename to www-api/system/Database/QueryInterface.php diff --git a/www-api/system/database/RawSql.php b/www-api/system/Database/RawSql.php similarity index 100% rename from www-api/system/database/RawSql.php rename to www-api/system/Database/RawSql.php diff --git a/www-api/system/database/ResultInterface.php b/www-api/system/Database/ResultInterface.php similarity index 100% rename from www-api/system/database/ResultInterface.php rename to www-api/system/Database/ResultInterface.php diff --git a/www-api/system/database/SQLSRV/Builder.php b/www-api/system/Database/SQLSRV/Builder.php similarity index 100% rename from www-api/system/database/SQLSRV/Builder.php rename to www-api/system/Database/SQLSRV/Builder.php diff --git a/www-api/system/database/SQLSRV/Connection.php b/www-api/system/Database/SQLSRV/Connection.php similarity index 100% rename from www-api/system/database/SQLSRV/Connection.php rename to www-api/system/Database/SQLSRV/Connection.php diff --git a/www-api/system/database/SQLSRV/Forge.php b/www-api/system/Database/SQLSRV/Forge.php similarity index 100% rename from www-api/system/database/SQLSRV/Forge.php rename to www-api/system/Database/SQLSRV/Forge.php diff --git a/www-api/system/database/SQLSRV/PreparedQuery.php b/www-api/system/Database/SQLSRV/PreparedQuery.php similarity index 100% rename from www-api/system/database/SQLSRV/PreparedQuery.php rename to www-api/system/Database/SQLSRV/PreparedQuery.php diff --git a/www-api/system/database/SQLSRV/Result.php b/www-api/system/Database/SQLSRV/Result.php similarity index 100% rename from www-api/system/database/SQLSRV/Result.php rename to www-api/system/Database/SQLSRV/Result.php diff --git a/www-api/system/database/SQLSRV/Utils.php b/www-api/system/Database/SQLSRV/Utils.php similarity index 100% rename from www-api/system/database/SQLSRV/Utils.php rename to www-api/system/Database/SQLSRV/Utils.php diff --git a/www-api/system/database/SQLite3/Builder.php b/www-api/system/Database/SQLite3/Builder.php similarity index 100% rename from www-api/system/database/SQLite3/Builder.php rename to www-api/system/Database/SQLite3/Builder.php diff --git a/www-api/system/database/SQLite3/Connection.php b/www-api/system/Database/SQLite3/Connection.php similarity index 100% rename from www-api/system/database/SQLite3/Connection.php rename to www-api/system/Database/SQLite3/Connection.php diff --git a/www-api/system/database/SQLite3/Forge.php b/www-api/system/Database/SQLite3/Forge.php similarity index 100% rename from www-api/system/database/SQLite3/Forge.php rename to www-api/system/Database/SQLite3/Forge.php diff --git a/www-api/system/database/SQLite3/PreparedQuery.php b/www-api/system/Database/SQLite3/PreparedQuery.php similarity index 100% rename from www-api/system/database/SQLite3/PreparedQuery.php rename to www-api/system/Database/SQLite3/PreparedQuery.php diff --git a/www-api/system/database/SQLite3/Result.php b/www-api/system/Database/SQLite3/Result.php similarity index 100% rename from www-api/system/database/SQLite3/Result.php rename to www-api/system/Database/SQLite3/Result.php diff --git a/www-api/system/database/SQLite3/Table.php b/www-api/system/Database/SQLite3/Table.php similarity index 100% rename from www-api/system/database/SQLite3/Table.php rename to www-api/system/Database/SQLite3/Table.php diff --git a/www-api/system/database/SQLite3/Utils.php b/www-api/system/Database/SQLite3/Utils.php similarity index 100% rename from www-api/system/database/SQLite3/Utils.php rename to www-api/system/Database/SQLite3/Utils.php diff --git a/www-api/system/database/Seeder.php b/www-api/system/Database/Seeder.php similarity index 100% rename from www-api/system/database/Seeder.php rename to www-api/system/Database/Seeder.php diff --git a/www-api/system/helpers/array_helper.php b/www-api/system/Helpers/array_helper.php similarity index 100% rename from www-api/system/helpers/array_helper.php rename to www-api/system/Helpers/array_helper.php diff --git a/www-api/system/helpers/cookie_helper.php b/www-api/system/Helpers/cookie_helper.php similarity index 100% rename from www-api/system/helpers/cookie_helper.php rename to www-api/system/Helpers/cookie_helper.php diff --git a/www-api/system/helpers/date_helper.php b/www-api/system/Helpers/date_helper.php similarity index 100% rename from www-api/system/helpers/date_helper.php rename to www-api/system/Helpers/date_helper.php diff --git a/www-api/system/helpers/filesystem_helper.php b/www-api/system/Helpers/filesystem_helper.php similarity index 100% rename from www-api/system/helpers/filesystem_helper.php rename to www-api/system/Helpers/filesystem_helper.php diff --git a/www-api/system/helpers/form_helper.php b/www-api/system/Helpers/form_helper.php similarity index 100% rename from www-api/system/helpers/form_helper.php rename to www-api/system/Helpers/form_helper.php diff --git a/www-api/system/helpers/html_helper.php b/www-api/system/Helpers/html_helper.php similarity index 100% rename from www-api/system/helpers/html_helper.php rename to www-api/system/Helpers/html_helper.php diff --git a/www-api/system/helpers/inflector_helper.php b/www-api/system/Helpers/inflector_helper.php similarity index 100% rename from www-api/system/helpers/inflector_helper.php rename to www-api/system/Helpers/inflector_helper.php diff --git a/www-api/system/helpers/number_helper.php b/www-api/system/Helpers/number_helper.php similarity index 100% rename from www-api/system/helpers/number_helper.php rename to www-api/system/Helpers/number_helper.php diff --git a/www-api/system/helpers/security_helper.php b/www-api/system/Helpers/security_helper.php similarity index 100% rename from www-api/system/helpers/security_helper.php rename to www-api/system/Helpers/security_helper.php diff --git a/www-api/system/helpers/test_helper.php b/www-api/system/Helpers/test_helper.php similarity index 100% rename from www-api/system/helpers/test_helper.php rename to www-api/system/Helpers/test_helper.php diff --git a/www-api/system/helpers/text_helper.php b/www-api/system/Helpers/text_helper.php similarity index 100% rename from www-api/system/helpers/text_helper.php rename to www-api/system/Helpers/text_helper.php diff --git a/www-api/system/helpers/url_helper.php b/www-api/system/Helpers/url_helper.php similarity index 100% rename from www-api/system/helpers/url_helper.php rename to www-api/system/Helpers/url_helper.php diff --git a/www-api/system/helpers/xml_helper.php b/www-api/system/Helpers/xml_helper.php similarity index 100% rename from www-api/system/helpers/xml_helper.php rename to www-api/system/Helpers/xml_helper.php diff --git a/www-api/system/language/Language.php b/www-api/system/Language/Language.php similarity index 100% rename from www-api/system/language/Language.php rename to www-api/system/Language/Language.php diff --git a/www-api/system/language/en/CLI.php b/www-api/system/Language/en/CLI.php similarity index 100% rename from www-api/system/language/en/CLI.php rename to www-api/system/Language/en/CLI.php diff --git a/www-api/system/language/en/Cache.php b/www-api/system/Language/en/Cache.php similarity index 100% rename from www-api/system/language/en/Cache.php rename to www-api/system/Language/en/Cache.php diff --git a/www-api/system/language/en/Cast.php b/www-api/system/Language/en/Cast.php similarity index 100% rename from www-api/system/language/en/Cast.php rename to www-api/system/Language/en/Cast.php diff --git a/www-api/system/language/en/Cookie.php b/www-api/system/Language/en/Cookie.php similarity index 100% rename from www-api/system/language/en/Cookie.php rename to www-api/system/Language/en/Cookie.php diff --git a/www-api/system/language/en/Core.php b/www-api/system/Language/en/Core.php similarity index 100% rename from www-api/system/language/en/Core.php rename to www-api/system/Language/en/Core.php diff --git a/www-api/system/language/en/Database.php b/www-api/system/Language/en/Database.php similarity index 100% rename from www-api/system/language/en/Database.php rename to www-api/system/Language/en/Database.php diff --git a/www-api/system/language/en/Email.php b/www-api/system/Language/en/Email.php similarity index 100% rename from www-api/system/language/en/Email.php rename to www-api/system/Language/en/Email.php diff --git a/www-api/system/language/en/Encryption.php b/www-api/system/Language/en/Encryption.php similarity index 100% rename from www-api/system/language/en/Encryption.php rename to www-api/system/Language/en/Encryption.php diff --git a/www-api/system/language/en/Fabricator.php b/www-api/system/Language/en/Fabricator.php similarity index 100% rename from www-api/system/language/en/Fabricator.php rename to www-api/system/Language/en/Fabricator.php diff --git a/www-api/system/language/en/Files.php b/www-api/system/Language/en/Files.php similarity index 100% rename from www-api/system/language/en/Files.php rename to www-api/system/Language/en/Files.php diff --git a/www-api/system/language/en/Filters.php b/www-api/system/Language/en/Filters.php similarity index 100% rename from www-api/system/language/en/Filters.php rename to www-api/system/Language/en/Filters.php diff --git a/www-api/system/language/en/Format.php b/www-api/system/Language/en/Format.php similarity index 100% rename from www-api/system/language/en/Format.php rename to www-api/system/Language/en/Format.php diff --git a/www-api/system/language/en/HTTP.php b/www-api/system/Language/en/HTTP.php similarity index 100% rename from www-api/system/language/en/HTTP.php rename to www-api/system/Language/en/HTTP.php diff --git a/www-api/system/language/en/Images.php b/www-api/system/Language/en/Images.php similarity index 100% rename from www-api/system/language/en/Images.php rename to www-api/system/Language/en/Images.php diff --git a/www-api/system/language/en/Log.php b/www-api/system/Language/en/Log.php similarity index 100% rename from www-api/system/language/en/Log.php rename to www-api/system/Language/en/Log.php diff --git a/www-api/system/language/en/Migrations.php b/www-api/system/Language/en/Migrations.php similarity index 100% rename from www-api/system/language/en/Migrations.php rename to www-api/system/Language/en/Migrations.php diff --git a/www-api/system/language/en/Number.php b/www-api/system/Language/en/Number.php similarity index 100% rename from www-api/system/language/en/Number.php rename to www-api/system/Language/en/Number.php diff --git a/www-api/system/language/en/Pager.php b/www-api/system/Language/en/Pager.php similarity index 100% rename from www-api/system/language/en/Pager.php rename to www-api/system/Language/en/Pager.php diff --git a/www-api/system/language/en/Publisher.php b/www-api/system/Language/en/Publisher.php similarity index 100% rename from www-api/system/language/en/Publisher.php rename to www-api/system/Language/en/Publisher.php diff --git a/www-api/system/language/en/RESTful.php b/www-api/system/Language/en/RESTful.php similarity index 100% rename from www-api/system/language/en/RESTful.php rename to www-api/system/Language/en/RESTful.php diff --git a/www-api/system/language/en/Router.php b/www-api/system/Language/en/Router.php similarity index 100% rename from www-api/system/language/en/Router.php rename to www-api/system/Language/en/Router.php diff --git a/www-api/system/language/en/Security.php b/www-api/system/Language/en/Security.php similarity index 100% rename from www-api/system/language/en/Security.php rename to www-api/system/Language/en/Security.php diff --git a/www-api/system/language/en/Session.php b/www-api/system/Language/en/Session.php similarity index 100% rename from www-api/system/language/en/Session.php rename to www-api/system/Language/en/Session.php diff --git a/www-api/system/language/en/Test.php b/www-api/system/Language/en/Test.php similarity index 100% rename from www-api/system/language/en/Test.php rename to www-api/system/Language/en/Test.php diff --git a/www-api/system/language/en/Time.php b/www-api/system/Language/en/Time.php similarity index 100% rename from www-api/system/language/en/Time.php rename to www-api/system/Language/en/Time.php diff --git a/www-api/system/language/en/Validation.php b/www-api/system/Language/en/Validation.php similarity index 100% rename from www-api/system/language/en/Validation.php rename to www-api/system/Language/en/Validation.php diff --git a/www-api/system/language/en/View.php b/www-api/system/Language/en/View.php similarity index 100% rename from www-api/system/language/en/View.php rename to www-api/system/Language/en/View.php