From 6d764d6c106cfb6bdbd3ae4c5eec96666add3012 Mon Sep 17 00:00:00 2001 From: joegenequ Date: Sat, 10 Aug 2024 01:55:48 +0000 Subject: [PATCH 01/13] Initial commit --- public_html/form.html | 11 +++++++++++ public_html/index.php | 6 +++++- public_html/welcome.php | 8 ++++++++ 3 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 public_html/form.html create mode 100644 public_html/welcome.php diff --git a/public_html/form.html b/public_html/form.html new file mode 100644 index 00000000..5cd7062d --- /dev/null +++ b/public_html/form.html @@ -0,0 +1,11 @@ + + + +
+Name:
+E-mail:
+ +
+ + + \ No newline at end of file diff --git a/public_html/index.php b/public_html/index.php index 83f15493..0999edbe 100644 --- a/public_html/index.php +++ b/public_html/index.php @@ -1,3 +1,7 @@ "; + } diff --git a/public_html/welcome.php b/public_html/welcome.php new file mode 100644 index 00000000..5690dcfa --- /dev/null +++ b/public_html/welcome.php @@ -0,0 +1,8 @@ + + + +Welcome
+Your email address is: + + + \ No newline at end of file From 20d2d892edbe832252faba1ab377cc7aa8e1d3ed Mon Sep 17 00:00:00 2001 From: joegenequ Date: Sat, 10 Aug 2024 02:27:54 +0000 Subject: [PATCH 02/13] created form01 --- public_html/form01.php | 59 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 public_html/form01.php diff --git a/public_html/form01.php b/public_html/form01.php new file mode 100644 index 00000000..f7316924 --- /dev/null +++ b/public_html/form01.php @@ -0,0 +1,59 @@ + + + + + + + + +

PHP Form Validation Example

+
"> + Name: +

+ E-mail: +

+ Website: +

+ Comment: +

+ Gender: + Female + Male + Other +

+ +
+ +Your Input:"; +echo $name; +echo "
"; +echo $email; +echo "
"; +echo $website; +echo "
"; +echo $comment; +echo "
"; +echo $gender; +?> + + + \ No newline at end of file From bd78a3a6352d9fa0a0febcb11fdc920e7a967ad4 Mon Sep 17 00:00:00 2001 From: joegenequ Date: Sat, 10 Aug 2024 03:08:19 +0000 Subject: [PATCH 03/13] created form03.php and mysql create database. --- public_html/database01.php | 27 ++++++++++ public_html/form02.php | 92 ++++++++++++++++++++++++++++++++ public_html/form03.php | 104 +++++++++++++++++++++++++++++++++++++ 3 files changed, 223 insertions(+) create mode 100644 public_html/database01.php create mode 100644 public_html/form02.php create mode 100644 public_html/form03.php diff --git a/public_html/database01.php b/public_html/database01.php new file mode 100644 index 00000000..78724a19 --- /dev/null +++ b/public_html/database01.php @@ -0,0 +1,27 @@ +connect_error) { + die("Connection failed: " . $conn->connect_error); +} +echo "Connected successfully"; + +// Create database +$sql = "CREATE DATABASE myDB"; +if ($conn->query($sql) === TRUE) { + echo "Database created successfully"; +} else { + echo "Error creating database: " . $conn->error; +} + +$conn->close(); + + + +?> \ No newline at end of file diff --git a/public_html/form02.php b/public_html/form02.php new file mode 100644 index 00000000..f922f8b0 --- /dev/null +++ b/public_html/form02.php @@ -0,0 +1,92 @@ + + + + + + + + + +

PHP Form Validation Example

+

* required field

+
"> + Name: + * +

+ E-mail: + * +

+ Website: + +

+ Comment: +

+ Gender: + Female + Male + Other + * +

+ +
+ +Your Input:"; +echo $name; +echo "
"; +echo $email; +echo "
"; +echo $website; +echo "
"; +echo $comment; +echo "
"; +echo $gender; +?> + + + \ No newline at end of file diff --git a/public_html/form03.php b/public_html/form03.php new file mode 100644 index 00000000..83279687 --- /dev/null +++ b/public_html/form03.php @@ -0,0 +1,104 @@ + + + + + + + + + +

PHP Form Validation Example

+

* required field

+
"> + Name: + * +

+ E-mail: + * +

+ Website: + +

+ Comment: +

+ Gender: + value="female">Female + value="male">Male + value="other">Other + * +

+ +
+ +Your Input:"; +echo $name; +echo "
"; +echo $email; +echo "
"; +echo $website; +echo "
"; +echo $comment; +echo "
"; +echo $gender; +?> + + + \ No newline at end of file From 6fd63cb813ea7d3adaa5d7013c45ef57366997dc Mon Sep 17 00:00:00 2001 From: joegenequ Date: Sat, 10 Aug 2024 03:29:01 +0000 Subject: [PATCH 04/13] create table sql code --- public_html/database02.php | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 public_html/database02.php diff --git a/public_html/database02.php b/public_html/database02.php new file mode 100644 index 00000000..20cdf9d0 --- /dev/null +++ b/public_html/database02.php @@ -0,0 +1,30 @@ +connect_error) { + die("Connection failed: " . $conn->connect_error); +} + +// sql to create table +$sql = "CREATE TABLE MyGuests ( +id INT(6) UNSIGNED AUTO_INCREMENT PRIMARY KEY, +firstname VARCHAR(30) NOT NULL, +lastname VARCHAR(30) NOT NULL, +email VARCHAR(50), +reg_date TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP +)"; + +if ($conn->query($sql) === TRUE) { + echo "Table MyGuests created successfully"; +} else { + echo "Error creating table: " . $conn->error; +} + +$conn->close(); +?> \ No newline at end of file From 50ac6e3491645714b600780c085c6f637ced7148 Mon Sep 17 00:00:00 2001 From: joegenequ Date: Sat, 10 Aug 2024 03:45:32 +0000 Subject: [PATCH 05/13] Added select record --- public_html/database02.php | 15 +++++++++++++++ public_html/database03.php | 26 ++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 public_html/database03.php diff --git a/public_html/database02.php b/public_html/database02.php index 20cdf9d0..3eab408d 100644 --- a/public_html/database02.php +++ b/public_html/database02.php @@ -11,6 +11,7 @@ die("Connection failed: " . $conn->connect_error); } +/* // sql to create table $sql = "CREATE TABLE MyGuests ( id INT(6) UNSIGNED AUTO_INCREMENT PRIMARY KEY, @@ -20,11 +21,25 @@ reg_date TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP )"; +*/ + +$sql = "INSERT INTO MyGuests (firstname, lastname, email) +VALUES ('Jane', 'Doe', 'jane@example.com')"; + +/* if ($conn->query($sql) === TRUE) { echo "Table MyGuests created successfully"; } else { echo "Error creating table: " . $conn->error; } +*/ + +if ($conn->query($sql) === TRUE) { + echo "New record created successfully"; + } else { + echo "Error: " . $sql . "
" . $conn->error; + } + $conn->close(); ?> \ No newline at end of file diff --git a/public_html/database03.php b/public_html/database03.php new file mode 100644 index 00000000..1fec2fd9 --- /dev/null +++ b/public_html/database03.php @@ -0,0 +1,26 @@ +connect_error) { + die("Connection failed: " . $conn->connect_error); +} + +$sql = "SELECT id, firstname, lastname FROM MyGuests"; +$result = $conn->query($sql); + +if ($result->num_rows > 0) { + // output data of each row + while($row = $result->fetch_assoc()) { + echo "id: " . $row["id"]. " - Name: " . $row["firstname"]. " " . $row["lastname"]. "
"; + } +} else { + echo "0 results"; +} +$conn->close(); +?> \ No newline at end of file From 111a175c2e7aaee4e743a6d30e5b1a02a8b2f2bd Mon Sep 17 00:00:00 2001 From: joegenequ Date: Sat, 10 Aug 2024 05:16:59 +0000 Subject: [PATCH 06/13] mysql select statement --- public_html/database03.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public_html/database03.php b/public_html/database03.php index 1fec2fd9..9553573e 100644 --- a/public_html/database03.php +++ b/public_html/database03.php @@ -11,13 +11,13 @@ die("Connection failed: " . $conn->connect_error); } -$sql = "SELECT id, firstname, lastname FROM MyGuests"; +$sql = "SELECT id, firstname, lastname, email, reg_date FROM MyGuests"; $result = $conn->query($sql); if ($result->num_rows > 0) { // output data of each row while($row = $result->fetch_assoc()) { - echo "id: " . $row["id"]. " - Name: " . $row["firstname"]. " " . $row["lastname"]. "
"; + echo "id: " . $row["id"]. " - Name: " . $row["firstname"]. " " . $row["lastname"]." " . $row["email"]." " . $row["reg_date"]. "
"; } } else { echo "0 results"; From 03ae5415c53d946d49730e64d1b8993e6be62c86 Mon Sep 17 00:00:00 2001 From: joegenequ Date: Sat, 10 Aug 2024 06:01:46 +0000 Subject: [PATCH 07/13] form4 and databaes 4 --- public_html/database04.php | 26 +++++++ public_html/form04.php | 136 +++++++++++++++++++++++++++++++++++++ 2 files changed, 162 insertions(+) create mode 100644 public_html/database04.php create mode 100644 public_html/form04.php diff --git a/public_html/database04.php b/public_html/database04.php new file mode 100644 index 00000000..44860523 --- /dev/null +++ b/public_html/database04.php @@ -0,0 +1,26 @@ +connect_error) { + die("Connection failed: " . $conn->connect_error); +} + +$sql = "SELECT id, name, email, website, comment, gender, reg_date FROM MyForm"; +$result = $conn->query($sql); + +if ($result->num_rows > 0) { + // output data of each row + while($row = $result->fetch_assoc()) { + echo "id: " . $row["id"]. " - Name: " . $row["name"]." " . $row["email"]." " . $row["website"]." " . $row["comment"]." " . $row["gender"]. " " . $row["reg_date"]. "
"; + } +} else { + echo "0 results"; +} +$conn->close(); +?> \ No newline at end of file diff --git a/public_html/form04.php b/public_html/form04.php new file mode 100644 index 00000000..fc2f6741 --- /dev/null +++ b/public_html/form04.php @@ -0,0 +1,136 @@ + + + + + + + + + +

PHP Form Validation Example

+

* required field

+
"> + Name: + * +

+ E-mail: + * +

+ Website: + +

+ Comment: +

+ Gender: + value="female">Female + value="male">Male + value="other">Other + * +

+ +
+ +Your Input:"; +echo $name; +echo "
"; +echo $email; +echo "
"; +echo $website; +echo "
"; +echo $comment; +echo "
"; +echo $gender; +?> + +connect_error) { + die("Connection failed: " . $conn->connect_error); +} + + +$sql = "INSERT INTO MyForm (name, email, website, comment, gender) +VALUES ('$name', '$email', '$website', '$comment', '$gender')"; + +if ($conn->query($sql) === TRUE) { + echo "New record created successfully"; + } else { + echo "Error: " . $sql . "
" . $conn->error; + } + + +$conn->close(); +?> + + + + + + + + \ No newline at end of file From cd37ed792a560fb9d0fd2382738061dbe9c0c3c8 Mon Sep 17 00:00:00 2001 From: joegenequ Date: Sat, 10 Aug 2024 07:23:29 +0000 Subject: [PATCH 08/13] Final commit for this session --- public_html/form04.php | 5 ----- public_html/index.php | 6 +----- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/public_html/form04.php b/public_html/form04.php index fc2f6741..f55750ce 100644 --- a/public_html/form04.php +++ b/public_html/form04.php @@ -127,10 +127,5 @@ function test_input($data) { $conn->close(); ?> - - - - - \ No newline at end of file diff --git a/public_html/index.php b/public_html/index.php index 0999edbe..d50a07a9 100644 --- a/public_html/index.php +++ b/public_html/index.php @@ -1,7 +1,3 @@ "; - } From d8f4fd3b10158fdfa312440641b9a96b043dae77 Mon Sep 17 00:00:00 2001 From: joegenequ Date: Sat, 10 Aug 2024 08:30:13 +0000 Subject: [PATCH 09/13] Intial setup of ci4 --- public_html/ci4/.env | 69 + public_html/ci4/LICENSE | 22 + public_html/ci4/README.md | 60 + public_html/ci4/app/.htaccess | 6 + public_html/ci4/app/Common.php | 15 + public_html/ci4/app/Config/App.php | 202 + public_html/ci4/app/Config/Autoload.php | 94 + .../ci4/app/Config/Boot/development.php | 34 + .../ci4/app/Config/Boot/production.php | 25 + public_html/ci4/app/Config/Boot/testing.php | 38 + public_html/ci4/app/Config/CURLRequest.php | 20 + public_html/ci4/app/Config/Cache.php | 171 + public_html/ci4/app/Config/Constants.php | 94 + .../ci4/app/Config/ContentSecurityPolicy.php | 176 + public_html/ci4/app/Config/Cookie.php | 107 + public_html/ci4/app/Config/Cors.php | 105 + public_html/ci4/app/Config/Database.php | 201 + public_html/ci4/app/Config/DocTypes.php | 46 + public_html/ci4/app/Config/Email.php | 121 + public_html/ci4/app/Config/Encryption.php | 92 + public_html/ci4/app/Config/Events.php | 55 + public_html/ci4/app/Config/Exceptions.php | 106 + public_html/ci4/app/Config/Feature.php | 29 + public_html/ci4/app/Config/Filters.php | 107 + .../ci4/app/Config/ForeignCharacters.php | 12 + public_html/ci4/app/Config/Format.php | 77 + public_html/ci4/app/Config/Generators.php | 44 + public_html/ci4/app/Config/Honeypot.php | 42 + public_html/ci4/app/Config/Images.php | 31 + public_html/ci4/app/Config/Kint.php | 65 + public_html/ci4/app/Config/Logger.php | 150 + public_html/ci4/app/Config/Migrations.php | 50 + public_html/ci4/app/Config/Mimes.php | 536 +++ public_html/ci4/app/Config/Modules.php | 84 + public_html/ci4/app/Config/Optimize.php | 32 + public_html/ci4/app/Config/Pager.php | 37 + public_html/ci4/app/Config/Paths.php | 80 + public_html/ci4/app/Config/Publisher.php | 28 + public_html/ci4/app/Config/Routes.php | 13 + public_html/ci4/app/Config/Routing.php | 140 + public_html/ci4/app/Config/Security.php | 103 + public_html/ci4/app/Config/Services.php | 32 + public_html/ci4/app/Config/Session.php | 127 + public_html/ci4/app/Config/Toolbar.php | 122 + public_html/ci4/app/Config/UserAgents.php | 252 ++ public_html/ci4/app/Config/Validation.php | 44 + public_html/ci4/app/Config/View.php | 62 + .../ci4/app/Controllers/BaseController.php | 58 + public_html/ci4/app/Controllers/Home.php | 11 + .../ci4/app/Database/Migrations/.gitkeep | 0 public_html/ci4/app/Database/Seeds/.gitkeep | 0 public_html/ci4/app/Filters/.gitkeep | 0 public_html/ci4/app/Helpers/.gitkeep | 0 public_html/ci4/app/Language/.gitkeep | 0 .../ci4/app/Language/en/Validation.php | 4 + public_html/ci4/app/Libraries/.gitkeep | 0 public_html/ci4/app/Models/.gitkeep | 0 public_html/ci4/app/ThirdParty/.gitkeep | 0 .../ci4/app/Views/errors/cli/error_404.php | 7 + .../app/Views/errors/cli/error_exception.php | 65 + .../ci4/app/Views/errors/cli/production.php | 5 + .../ci4/app/Views/errors/html/debug.css | 190 + .../ci4/app/Views/errors/html/debug.js | 116 + .../ci4/app/Views/errors/html/error_404.php | 84 + .../app/Views/errors/html/error_exception.php | 430 ++ .../ci4/app/Views/errors/html/production.php | 25 + public_html/ci4/app/Views/welcome_message.php | 331 ++ public_html/ci4/app/index.html | 11 + public_html/ci4/composer.json | 66 + public_html/ci4/env | 69 + public_html/ci4/phpunit.xml.dist | 63 + public_html/ci4/preload.php | 104 + public_html/ci4/public/.htaccess | 49 + public_html/ci4/public/favicon.ico | Bin 0 -> 5430 bytes public_html/ci4/public/index.php | 56 + public_html/ci4/public/robots.txt | 2 + public_html/ci4/spark | 84 + public_html/ci4/system/.htaccess | 6 + public_html/ci4/system/API/ResponseTrait.php | 374 ++ .../ci4/system/Autoloader/Autoloader.php | 561 +++ .../ci4/system/Autoloader/FileLocator.php | 404 ++ .../system/Autoloader/FileLocatorCached.php | 172 + .../Autoloader/FileLocatorInterface.php | 82 + public_html/ci4/system/BaseModel.php | 1953 +++++++++ public_html/ci4/system/Boot.php | 355 ++ public_html/ci4/system/CLI/BaseCommand.php | 233 ++ public_html/ci4/system/CLI/CLI.php | 1152 ++++++ public_html/ci4/system/CLI/Commands.php | 195 + public_html/ci4/system/CLI/Console.php | 90 + .../system/CLI/Exceptions/CLIException.php | 36 + public_html/ci4/system/CLI/GeneratorTrait.php | 527 +++ public_html/ci4/system/CLI/InputOutput.php | 80 + public_html/ci4/system/Cache/CacheFactory.php | 91 + .../ci4/system/Cache/CacheInterface.php | 110 + .../Cache/Exceptions/CacheException.php | 66 + .../ci4/system/Cache/FactoriesCache.php | 67 + .../FactoriesCache/FileVarExportHandler.php | 46 + .../ci4/system/Cache/Handlers/BaseHandler.php | 113 + .../system/Cache/Handlers/DummyHandler.php | 121 + .../ci4/system/Cache/Handlers/FileHandler.php | 425 ++ .../Cache/Handlers/MemcachedHandler.php | 278 ++ .../system/Cache/Handlers/PredisHandler.php | 227 ++ .../system/Cache/Handlers/RedisHandler.php | 258 ++ .../system/Cache/Handlers/WincacheHandler.php | 152 + .../ci4/system/Cache/ResponseCache.php | 157 + public_html/ci4/system/CodeIgniter.php | 1157 ++++++ .../ci4/system/Commands/Cache/ClearCache.php | 90 + .../ci4/system/Commands/Cache/InfoCache.php | 91 + .../Commands/Database/CreateDatabase.php | 154 + .../ci4/system/Commands/Database/Migrate.php | 103 + .../Commands/Database/MigrateRefresh.php | 89 + .../Commands/Database/MigrateRollback.php | 119 + .../Commands/Database/MigrateStatus.php | 168 + .../ci4/system/Commands/Database/Seed.php | 84 + .../Commands/Database/ShowTableInfo.php | 345 ++ .../Commands/Encryption/GenerateKey.php | 205 + .../Commands/Generators/CellGenerator.php | 107 + .../Commands/Generators/CommandGenerator.php | 121 + .../Commands/Generators/ConfigGenerator.php | 100 + .../Generators/ControllerGenerator.php | 136 + .../Commands/Generators/EntityGenerator.php | 86 + .../Commands/Generators/FilterGenerator.php | 86 + .../Generators/MigrationGenerator.php | 131 + .../Commands/Generators/ModelGenerator.php | 135 + .../Commands/Generators/ScaffoldGenerator.php | 123 + .../Commands/Generators/SeederGenerator.php | 86 + .../Commands/Generators/TestGenerator.php | 192 + .../Generators/ValidationGenerator.php | 86 + .../Commands/Generators/Views/cell.tpl.php | 10 + .../Generators/Views/cell_view.tpl.php | 3 + .../Commands/Generators/Views/command.tpl.php | 76 + .../Commands/Generators/Views/config.tpl.php | 10 + .../Generators/Views/controller.tpl.php | 186 + .../Commands/Generators/Views/entity.tpl.php | 12 + .../Commands/Generators/Views/filter.tpl.php | 47 + .../Generators/Views/migration.tpl.php | 50 + .../Commands/Generators/Views/model.tpl.php | 49 + .../Commands/Generators/Views/seeder.tpl.php | 13 + .../Commands/Generators/Views/test.tpl.php | 18 + .../Generators/Views/validation.tpl.php | 11 + public_html/ci4/system/Commands/Help.php | 87 + .../Commands/Housekeeping/ClearDebugbar.php | 72 + .../Commands/Housekeeping/ClearLogs.php | 93 + .../ci4/system/Commands/ListCommands.php | 140 + .../ci4/system/Commands/Server/Serve.php | 119 + .../Translation/LocalizationFinder.php | 389 ++ .../system/Commands/Utilities/ConfigCheck.php | 156 + .../system/Commands/Utilities/Environment.php | 157 + .../system/Commands/Utilities/FilterCheck.php | 155 + .../system/Commands/Utilities/Namespaces.php | 160 + .../system/Commands/Utilities/Optimize.php | 149 + .../system/Commands/Utilities/PhpIniCheck.php | 77 + .../ci4/system/Commands/Utilities/Publish.php | 106 + .../ci4/system/Commands/Utilities/Routes.php | 222 + .../Utilities/Routes/AutoRouteCollector.php | 59 + .../AutoRouterImproved/AutoRouteCollector.php | 151 + .../ControllerMethodReader.php | 243 ++ .../Utilities/Routes/ControllerFinder.php | 74 + .../Routes/ControllerMethodReader.php | 171 + .../Utilities/Routes/FilterCollector.php | 117 + .../Utilities/Routes/FilterFinder.php | 99 + .../Utilities/Routes/SampleURIGenerator.php | 73 + public_html/ci4/system/Common.php | 1259 ++++++ public_html/ci4/system/ComposerScripts.php | 174 + .../ci4/system/Config/AutoloadConfig.php | 153 + public_html/ci4/system/Config/BaseConfig.php | 273 ++ public_html/ci4/system/Config/BaseService.php | 423 ++ public_html/ci4/system/Config/DotEnv.php | 240 ++ public_html/ci4/system/Config/Factories.php | 556 +++ public_html/ci4/system/Config/Factory.php | 50 + public_html/ci4/system/Config/Filters.php | 118 + .../ci4/system/Config/ForeignCharacters.php | 117 + public_html/ci4/system/Config/Publisher.php | 44 + public_html/ci4/system/Config/Routing.php | 140 + public_html/ci4/system/Config/Services.php | 866 ++++ public_html/ci4/system/Config/View.php | 136 + public_html/ci4/system/Controller.php | 183 + .../Cookie/CloneableCookieInterface.php | 111 + public_html/ci4/system/Cookie/Cookie.php | 789 ++++ .../ci4/system/Cookie/CookieInterface.php | 170 + public_html/ci4/system/Cookie/CookieStore.php | 259 ++ .../Cookie/Exceptions/CookieException.php | 129 + .../ci4/system/DataCaster/Cast/ArrayCast.php | 47 + .../ci4/system/DataCaster/Cast/BaseCast.php | 45 + .../system/DataCaster/Cast/BooleanCast.php | 39 + .../ci4/system/DataCaster/Cast/CSVCast.php | 47 + .../system/DataCaster/Cast/CastInterface.php | 47 + .../system/DataCaster/Cast/DatetimeCast.php | 67 + .../ci4/system/DataCaster/Cast/FloatCast.php | 35 + .../system/DataCaster/Cast/IntBoolCast.php | 47 + .../system/DataCaster/Cast/IntegerCast.php | 35 + .../ci4/system/DataCaster/Cast/JsonCast.php | 63 + .../system/DataCaster/Cast/TimestampCast.php | 49 + .../ci4/system/DataCaster/Cast/URICast.php | 49 + .../ci4/system/DataCaster/DataCaster.php | 188 + .../DataCaster/Exceptions/CastException.php | 23 + .../system/DataConverter/DataConverter.php | 202 + .../ci4/system/Database/BaseBuilder.php | 3582 +++++++++++++++++ .../ci4/system/Database/BaseConnection.php | 1854 +++++++++ .../ci4/system/Database/BasePreparedQuery.php | 262 ++ .../ci4/system/Database/BaseResult.php | 545 +++ public_html/ci4/system/Database/BaseUtils.php | 328 ++ public_html/ci4/system/Database/Config.php | 153 + .../system/Database/ConnectionInterface.php | 168 + public_html/ci4/system/Database/Database.php | 141 + .../Database/Exceptions/DataException.php | 87 + .../Database/Exceptions/DatabaseException.php | 25 + .../Exceptions/ExceptionInterface.php | 24 + public_html/ci4/system/Database/Forge.php | 1260 ++++++ public_html/ci4/system/Database/Migration.php | 74 + .../ci4/system/Database/MigrationRunner.php | 871 ++++ .../ci4/system/Database/MySQLi/Builder.php | 147 + .../ci4/system/Database/MySQLi/Connection.php | 634 +++ .../ci4/system/Database/MySQLi/Forge.php | 266 ++ .../system/Database/MySQLi/PreparedQuery.php | 114 + .../ci4/system/Database/MySQLi/Result.php | 170 + .../ci4/system/Database/MySQLi/Utils.php | 47 + .../ci4/system/Database/OCI8/Builder.php | 526 +++ .../ci4/system/Database/OCI8/Connection.php | 744 ++++ .../ci4/system/Database/OCI8/Forge.php | 314 ++ .../system/Database/OCI8/PreparedQuery.php | 120 + .../ci4/system/Database/OCI8/Result.php | 119 + .../ci4/system/Database/OCI8/Utils.php | 40 + .../ci4/system/Database/Postgre/Builder.php | 634 +++ .../system/Database/Postgre/Connection.php | 589 +++ .../ci4/system/Database/Postgre/Forge.php | 220 + .../system/Database/Postgre/PreparedQuery.php | 128 + .../ci4/system/Database/Postgre/Result.php | 136 + .../ci4/system/Database/Postgre/Utils.php | 47 + .../Database/PreparedQueryInterface.php | 63 + public_html/ci4/system/Database/Query.php | 431 ++ .../ci4/system/Database/QueryInterface.php | 89 + public_html/ci4/system/Database/RawSql.php | 56 + .../ci4/system/Database/ResultInterface.php | 184 + .../ci4/system/Database/SQLSRV/Builder.php | 821 ++++ .../ci4/system/Database/SQLSRV/Connection.php | 569 +++ .../ci4/system/Database/SQLSRV/Forge.php | 448 +++ .../system/Database/SQLSRV/PreparedQuery.php | 137 + .../ci4/system/Database/SQLSRV/Result.php | 176 + .../ci4/system/Database/SQLSRV/Utils.php | 55 + .../ci4/system/Database/SQLite3/Builder.php | 280 ++ .../system/Database/SQLite3/Connection.php | 460 +++ .../ci4/system/Database/SQLite3/Forge.php | 324 ++ .../system/Database/SQLite3/PreparedQuery.php | 116 + .../ci4/system/Database/SQLite3/Result.php | 160 + .../ci4/system/Database/SQLite3/Table.php | 490 +++ .../ci4/system/Database/SQLite3/Utils.php | 40 + public_html/ci4/system/Database/Seeder.php | 193 + .../ci4/system/Debug/BaseExceptionHandler.php | 271 ++ .../ci4/system/Debug/ExceptionHandler.php | 161 + .../Debug/ExceptionHandlerInterface.php | 32 + public_html/ci4/system/Debug/Exceptions.php | 621 +++ public_html/ci4/system/Debug/Iterator.php | 134 + public_html/ci4/system/Debug/Timer.php | 151 + public_html/ci4/system/Debug/Toolbar.php | 551 +++ .../Toolbar/Collectors/BaseCollector.php | 238 ++ .../Debug/Toolbar/Collectors/Config.php | 42 + .../Debug/Toolbar/Collectors/Database.php | 260 ++ .../Debug/Toolbar/Collectors/Events.php | 125 + .../system/Debug/Toolbar/Collectors/Files.php | 104 + .../Debug/Toolbar/Collectors/History.php | 145 + .../system/Debug/Toolbar/Collectors/Logs.php | 97 + .../Debug/Toolbar/Collectors/Routes.php | 170 + .../Debug/Toolbar/Collectors/Timers.php | 73 + .../system/Debug/Toolbar/Collectors/Views.php | 150 + .../system/Debug/Toolbar/Views/_config.tpl | 48 + .../system/Debug/Toolbar/Views/_database.tpl | 26 + .../system/Debug/Toolbar/Views/_events.tpl | 18 + .../ci4/system/Debug/Toolbar/Views/_files.tpl | 16 + .../system/Debug/Toolbar/Views/_history.tpl | 28 + .../ci4/system/Debug/Toolbar/Views/_logs.tpl | 20 + .../system/Debug/Toolbar/Views/_routes.tpl | 52 + .../system/Debug/Toolbar/Views/toolbar.css | 867 ++++ .../ci4/system/Debug/Toolbar/Views/toolbar.js | 825 ++++ .../Debug/Toolbar/Views/toolbar.tpl.php | 277 ++ .../Debug/Toolbar/Views/toolbarloader.js | 90 + public_html/ci4/system/Email/Email.php | 2274 +++++++++++ .../system/Encryption/EncrypterInterface.php | 48 + .../ci4/system/Encryption/Encryption.php | 176 + .../Exceptions/EncryptionException.php | 86 + .../Encryption/Handlers/BaseHandler.php | 78 + .../Encryption/Handlers/OpenSSLHandler.php | 158 + .../Encryption/Handlers/SodiumHandler.php | 142 + .../ci4/system/Entity/Cast/ArrayCast.php | 40 + .../ci4/system/Entity/Cast/BaseCast.php | 46 + .../ci4/system/Entity/Cast/BooleanCast.php | 28 + .../ci4/system/Entity/Cast/CSVCast.php | 36 + .../ci4/system/Entity/Cast/CastInterface.php | 44 + .../ci4/system/Entity/Cast/DatetimeCast.php | 52 + .../ci4/system/Entity/Cast/FloatCast.php | 28 + .../ci4/system/Entity/Cast/IntBoolCast.php | 38 + .../ci4/system/Entity/Cast/IntegerCast.php | 28 + .../ci4/system/Entity/Cast/JsonCast.php | 67 + .../ci4/system/Entity/Cast/ObjectCast.php | 28 + .../ci4/system/Entity/Cast/StringCast.php | 28 + .../ci4/system/Entity/Cast/TimestampCast.php | 36 + .../ci4/system/Entity/Cast/URICast.php | 30 + public_html/ci4/system/Entity/Entity.php | 572 +++ .../Entity/Exceptions/CastException.php | 75 + public_html/ci4/system/Events/Events.php | 285 ++ .../ci4/system/Exceptions/ConfigException.php | 35 + .../ci4/system/Exceptions/CriticalError.php | 23 + .../system/Exceptions/DebugTraceableTrait.php | 43 + .../system/Exceptions/DownloadException.php | 64 + .../system/Exceptions/ExceptionInterface.php | 24 + .../system/Exceptions/FrameworkException.php | 96 + .../Exceptions/HTTPExceptionInterface.php | 21 + .../Exceptions/HasExitCodeInterface.php | 25 + .../ci4/system/Exceptions/ModelException.php | 44 + .../Exceptions/PageNotFoundException.php | 85 + .../ci4/system/Exceptions/TestException.php | 30 + .../system/Files/Exceptions/FileException.php | 55 + .../Exceptions/FileNotFoundException.php | 31 + public_html/ci4/system/Files/File.php | 192 + .../ci4/system/Files/FileCollection.php | 370 ++ public_html/ci4/system/Filters/CSRF.php | 77 + public_html/ci4/system/Filters/Cors.php | 111 + .../ci4/system/Filters/DebugToolbar.php | 45 + .../Filters/Exceptions/FilterException.php | 44 + .../ci4/system/Filters/FilterInterface.php | 51 + public_html/ci4/system/Filters/Filters.php | 869 ++++ public_html/ci4/system/Filters/ForceHTTPS.php | 64 + public_html/ci4/system/Filters/Honeypot.php | 57 + .../ci4/system/Filters/InvalidChars.php | 128 + public_html/ci4/system/Filters/PageCache.php | 77 + .../ci4/system/Filters/PerformanceMetrics.php | 62 + .../ci4/system/Filters/SecureHeaders.php | 75 + .../Format/Exceptions/FormatException.php | 73 + public_html/ci4/system/Format/Format.php | 76 + .../ci4/system/Format/FormatterInterface.php | 29 + .../ci4/system/Format/JSONFormatter.php | 50 + .../ci4/system/Format/XMLFormatter.php | 104 + public_html/ci4/system/HTTP/CLIRequest.php | 327 ++ public_html/ci4/system/HTTP/CURLRequest.php | 701 ++++ .../ci4/system/HTTP/ContentSecurityPolicy.php | 840 ++++ public_html/ci4/system/HTTP/Cors.php | 230 ++ .../ci4/system/HTTP/DownloadResponse.php | 360 ++ .../HTTP/Exceptions/BadRequestException.php | 30 + .../system/HTTP/Exceptions/HTTPException.php | 244 ++ .../HTTP/Exceptions/RedirectException.php | 84 + .../ci4/system/HTTP/Files/FileCollection.php | 262 ++ .../ci4/system/HTTP/Files/UploadedFile.php | 359 ++ .../HTTP/Files/UploadedFileInterface.php | 150 + public_html/ci4/system/HTTP/Header.php | 196 + .../ci4/system/HTTP/IncomingRequest.php | 883 ++++ public_html/ci4/system/HTTP/Message.php | 142 + .../ci4/system/HTTP/MessageInterface.php | 145 + public_html/ci4/system/HTTP/MessageTrait.php | 299 ++ public_html/ci4/system/HTTP/Method.php | 121 + public_html/ci4/system/HTTP/Negotiate.php | 363 ++ .../ci4/system/HTTP/OutgoingRequest.php | 163 + .../system/HTTP/OutgoingRequestInterface.php | 93 + .../ci4/system/HTTP/RedirectResponse.php | 178 + public_html/ci4/system/HTTP/Request.php | 86 + .../ci4/system/HTTP/RequestInterface.php | 41 + public_html/ci4/system/HTTP/RequestTrait.php | 379 ++ .../ci4/system/HTTP/ResponsableInterface.php | 19 + public_html/ci4/system/HTTP/Response.php | 245 ++ .../ci4/system/HTTP/ResponseInterface.php | 418 ++ public_html/ci4/system/HTTP/ResponseTrait.php | 751 ++++ public_html/ci4/system/HTTP/SiteURI.php | 437 ++ .../ci4/system/HTTP/SiteURIFactory.php | 242 ++ public_html/ci4/system/HTTP/URI.php | 1185 ++++++ public_html/ci4/system/HTTP/UserAgent.php | 374 ++ .../ci4/system/Helpers/Array/ArrayHelper.php | 318 ++ .../ci4/system/Helpers/array_helper.php | 165 + .../ci4/system/Helpers/cookie_helper.php | 109 + .../ci4/system/Helpers/date_helper.php | 79 + .../ci4/system/Helpers/filesystem_helper.php | 452 +++ .../ci4/system/Helpers/form_helper.php | 802 ++++ .../ci4/system/Helpers/html_helper.php | 549 +++ .../ci4/system/Helpers/inflector_helper.php | 339 ++ .../ci4/system/Helpers/kint_helper.php | 92 + .../ci4/system/Helpers/number_helper.php | 220 + .../ci4/system/Helpers/security_helper.php | 51 + .../ci4/system/Helpers/test_helper.php | 72 + .../ci4/system/Helpers/text_helper.php | 747 ++++ public_html/ci4/system/Helpers/url_helper.php | 518 +++ public_html/ci4/system/Helpers/xml_helper.php | 61 + .../Honeypot/Exceptions/HoneypotException.php | 60 + public_html/ci4/system/Honeypot/Honeypot.php | 121 + .../system/HotReloader/DirectoryHasher.php | 82 + .../ci4/system/HotReloader/HotReloader.php | 72 + .../ci4/system/HotReloader/IteratorFilter.php | 57 + .../system/I18n/Exceptions/I18nException.php | 99 + public_html/ci4/system/I18n/Time.php | 47 + .../ci4/system/I18n/TimeDifference.php | 306 ++ public_html/ci4/system/I18n/TimeLegacy.php | 48 + public_html/ci4/system/I18n/TimeTrait.php | 1213 ++++++ .../Images/Exceptions/ImageException.php | 120 + .../system/Images/Handlers/BaseHandler.php | 770 ++++ .../ci4/system/Images/Handlers/GDHandler.php | 513 +++ .../Images/Handlers/ImageMagickHandler.php | 469 +++ public_html/ci4/system/Images/Image.php | 137 + .../system/Images/ImageHandlerInterface.php | 142 + public_html/ci4/system/Language/Language.php | 299 ++ public_html/ci4/system/Language/en/CLI.php | 55 + public_html/ci4/system/Language/en/Cache.php | 20 + public_html/ci4/system/Language/en/Cast.php | 25 + public_html/ci4/system/Language/en/Cookie.php | 26 + public_html/ci4/system/Language/en/Core.php | 23 + .../ci4/system/Language/en/Database.php | 33 + public_html/ci4/system/Language/en/Email.php | 35 + .../ci4/system/Language/en/Encryption.php | 22 + public_html/ci4/system/Language/en/Errors.php | 20 + .../ci4/system/Language/en/Fabricator.php | 19 + public_html/ci4/system/Language/en/Files.php | 20 + .../ci4/system/Language/en/Filters.php | 18 + public_html/ci4/system/Language/en/Format.php | 20 + public_html/ci4/system/Language/en/HTTP.php | 83 + public_html/ci4/system/Language/en/Images.php | 36 + .../ci4/system/Language/en/Language.php | 17 + public_html/ci4/system/Language/en/Log.php | 18 + .../ci4/system/Language/en/Migrations.php | 60 + public_html/ci4/system/Language/en/Number.php | 28 + public_html/ci4/system/Language/en/Pager.php | 25 + .../ci4/system/Language/en/Publisher.php | 24 + .../ci4/system/Language/en/RESTful.php | 17 + public_html/ci4/system/Language/en/Router.php | 20 + .../ci4/system/Language/en/Security.php | 21 + .../ci4/system/Language/en/Session.php | 24 + public_html/ci4/system/Language/en/Test.php | 17 + public_html/ci4/system/Language/en/Time.php | 35 + .../ci4/system/Language/en/Validation.php | 77 + public_html/ci4/system/Language/en/View.php | 23 + .../system/Log/Exceptions/LogException.php | 35 + .../ci4/system/Log/Handlers/BaseHandler.php | 61 + .../Log/Handlers/ChromeLoggerHandler.php | 169 + .../system/Log/Handlers/ErrorlogHandler.php | 88 + .../ci4/system/Log/Handlers/FileHandler.php | 126 + .../system/Log/Handlers/HandlerInterface.php | 44 + public_html/ci4/system/Log/Logger.php | 428 ++ public_html/ci4/system/Model.php | 951 +++++ public_html/ci4/system/Modules/Modules.php | 75 + .../Pager/Exceptions/PagerException.php | 39 + public_html/ci4/system/Pager/Pager.php | 441 ++ .../ci4/system/Pager/PagerInterface.php | 120 + .../ci4/system/Pager/PagerRenderer.php | 433 ++ .../ci4/system/Pager/Views/default_full.php | 47 + .../ci4/system/Pager/Views/default_head.php | 27 + .../ci4/system/Pager/Views/default_simple.php | 23 + .../ci4/system/Publisher/ContentReplacer.php | 101 + .../Exceptions/PublisherException.php | 57 + .../ci4/system/Publisher/Publisher.php | 516 +++ .../ci4/system/RESTful/BaseResource.php | 77 + .../ci4/system/RESTful/ResourceController.php | 120 + .../ci4/system/RESTful/ResourcePresenter.php | 116 + public_html/ci4/system/Router/AutoRouter.php | 294 ++ .../ci4/system/Router/AutoRouterImproved.php | 592 +++ .../ci4/system/Router/AutoRouterInterface.php | 27 + .../system/Router/DefinedRouteCollector.php | 64 + .../Exceptions/MethodNotFoundException.php | 23 + .../Router/Exceptions/RedirectException.php | 32 + .../Router/Exceptions/RouterException.php | 83 + .../ci4/system/Router/RouteCollection.php | 1843 +++++++++ .../Router/RouteCollectionInterface.php | 197 + public_html/ci4/system/Router/Router.php | 743 ++++ .../ci4/system/Router/RouterInterface.php | 73 + .../ci4/system/Security/CheckPhpIni.php | 156 + .../Security/Exceptions/SecurityException.php | 84 + public_html/ci4/system/Security/Security.php | 544 +++ .../ci4/system/Security/SecurityInterface.php | 73 + .../Session/Exceptions/SessionException.php | 54 + .../system/Session/Handlers/ArrayHandler.php | 93 + .../system/Session/Handlers/BaseHandler.php | 177 + .../Handlers/Database/MySQLiHandler.php | 57 + .../Handlers/Database/PostgreHandler.php | 104 + .../Session/Handlers/DatabaseHandler.php | 307 ++ .../system/Session/Handlers/FileHandler.php | 340 ++ .../Session/Handlers/MemcachedHandler.php | 324 ++ .../system/Session/Handlers/RedisHandler.php | 419 ++ public_html/ci4/system/Session/Session.php | 936 +++++ .../ci4/system/Session/SessionInterface.php | 186 + public_html/ci4/system/Superglobals.php | 63 + .../ci4/system/Test/CIUnitTestCase.php | 529 +++ .../ci4/system/Test/ConfigFromArrayTrait.php | 48 + .../system/Test/Constraints/SeeInDatabase.php | 120 + .../ci4/system/Test/ControllerTestTrait.php | 307 ++ public_html/ci4/system/Test/DOMParser.php | 300 ++ .../ci4/system/Test/DatabaseTestTrait.php | 383 ++ public_html/ci4/system/Test/Fabricator.php | 616 +++ .../ci4/system/Test/FeatureTestTrait.php | 429 ++ .../ci4/system/Test/FilterTestTrait.php | 309 ++ .../Test/Filters/CITestStreamFilter.php | 104 + public_html/ci4/system/Test/IniTestTrait.php | 35 + .../Test/Interfaces/FabricatorModel.php | 90 + .../ci4/system/Test/Mock/MockAppConfig.php | 30 + .../ci4/system/Test/Mock/MockAutoload.php | 28 + .../ci4/system/Test/Mock/MockBuilder.php | 25 + .../ci4/system/Test/Mock/MockCLIConfig.php | 36 + .../ci4/system/Test/Mock/MockCURLRequest.php | 58 + .../ci4/system/Test/Mock/MockCache.php | 307 ++ .../ci4/system/Test/Mock/MockCodeIgniter.php | 31 + .../ci4/system/Test/Mock/MockCommon.php | 34 + .../ci4/system/Test/Mock/MockConnection.php | 258 ++ .../ci4/system/Test/Mock/MockEmail.php | 42 + .../ci4/system/Test/Mock/MockEvents.php | 42 + .../ci4/system/Test/Mock/MockFileLogger.php | 36 + .../system/Test/Mock/MockIncomingRequest.php | 20 + .../ci4/system/Test/Mock/MockInputOutput.php | 140 + .../ci4/system/Test/Mock/MockLanguage.php | 58 + .../ci4/system/Test/Mock/MockLogger.php | 105 + .../ci4/system/Test/Mock/MockQuery.php | 20 + .../Test/Mock/MockResourceController.php | 34 + .../Test/Mock/MockResourcePresenter.php | 37 + .../ci4/system/Test/Mock/MockResponse.php | 41 + .../ci4/system/Test/Mock/MockResult.php | 103 + .../ci4/system/Test/Mock/MockSecurity.php | 32 + .../ci4/system/Test/Mock/MockServices.php | 36 + .../ci4/system/Test/Mock/MockSession.php | 73 + .../ci4/system/Test/Mock/MockTable.php | 30 + .../ci4/system/Test/PhpStreamWrapper.php | 77 + .../ci4/system/Test/ReflectionHelper.php | 103 + .../ci4/system/Test/StreamFilterTrait.php | 42 + public_html/ci4/system/Test/TestLogger.php | 109 + public_html/ci4/system/Test/TestResponse.php | 495 +++ public_html/ci4/system/Test/bootstrap.php | 91 + .../ci4/system/ThirdParty/Escaper/Escaper.php | 424 ++ .../Escaper/Exception/ExceptionInterface.php | 11 + .../Exception/InvalidArgumentException.php | 13 + .../Escaper/Exception/RuntimeException.php | 13 + .../ci4/system/ThirdParty/Escaper/LICENSE.md | 26 + .../ci4/system/ThirdParty/Kint/CallFinder.php | 568 +++ .../ThirdParty/Kint/FacadeInterface.php | 49 + .../ci4/system/ThirdParty/Kint/Kint.php | 729 ++++ .../ci4/system/ThirdParty/Kint/LICENSE | 20 + .../ThirdParty/Kint/Parser/AbstractPlugin.php | 45 + .../Kint/Parser/ArrayLimitPlugin.php | 144 + .../Kint/Parser/ArrayObjectPlugin.php | 65 + .../ThirdParty/Kint/Parser/Base64Plugin.php | 96 + .../ThirdParty/Kint/Parser/BinaryPlugin.php | 51 + .../Kint/Parser/BlacklistPlugin.php | 101 + .../Kint/Parser/ClassMethodsPlugin.php | 115 + .../Kint/Parser/ClassStaticsPlugin.php | 154 + .../ThirdParty/Kint/Parser/ClosurePlugin.php | 96 + .../ThirdParty/Kint/Parser/ColorPlugin.php | 65 + .../Parser/ConstructablePluginInterface.php | 33 + .../Kint/Parser/DOMDocumentPlugin.php | 356 ++ .../ThirdParty/Kint/Parser/DateTimePlugin.php | 57 + .../ThirdParty/Kint/Parser/EnumPlugin.php | 88 + .../ThirdParty/Kint/Parser/FsPathPlugin.php | 80 + .../ThirdParty/Kint/Parser/IteratorPlugin.php | 107 + .../ThirdParty/Kint/Parser/JsonPlugin.php | 75 + .../Kint/Parser/MicrotimePlugin.php | 107 + .../ThirdParty/Kint/Parser/MysqliPlugin.php | 194 + .../system/ThirdParty/Kint/Parser/Parser.php | 655 +++ .../Kint/Parser/PluginInterface.php | 44 + .../ThirdParty/Kint/Parser/ProxyPlugin.php | 73 + .../Kint/Parser/SerializePlugin.php | 109 + .../Kint/Parser/SimpleXMLElementPlugin.php | 221 + .../Kint/Parser/SplFileInfoPlugin.php | 57 + .../Kint/Parser/SplObjectStoragePlugin.php | 56 + .../ThirdParty/Kint/Parser/StreamPlugin.php | 83 + .../ThirdParty/Kint/Parser/TablePlugin.php | 95 + .../Kint/Parser/ThrowablePlugin.php | 61 + .../Kint/Parser/TimestampPlugin.php | 77 + .../ThirdParty/Kint/Parser/ToStringPlugin.php | 69 + .../ThirdParty/Kint/Parser/TracePlugin.php | 120 + .../ThirdParty/Kint/Parser/XmlPlugin.php | 152 + .../Kint/Renderer/AbstractRenderer.php | 175 + .../ThirdParty/Kint/Renderer/CliRenderer.php | 182 + .../Kint/Renderer/PlainRenderer.php | 237 ++ .../Kint/Renderer/RendererInterface.php | 57 + .../Kint/Renderer/Rich/AbstractPlugin.php | 104 + .../Kint/Renderer/Rich/ArrayLimitPlugin.php | 38 + .../Kint/Renderer/Rich/BinaryPlugin.php | 62 + .../Kint/Renderer/Rich/BlacklistPlugin.php | 38 + .../Kint/Renderer/Rich/CallablePlugin.php | 130 + .../Kint/Renderer/Rich/ClosurePlugin.php | 64 + .../Kint/Renderer/Rich/ColorPlugin.php | 102 + .../Kint/Renderer/Rich/DepthLimitPlugin.php | 38 + .../Renderer/Rich/MethodDefinitionPlugin.php | 76 + .../Kint/Renderer/Rich/MicrotimePlugin.php | 74 + .../Kint/Renderer/Rich/PluginInterface.php | 35 + .../Kint/Renderer/Rich/RecursionPlugin.php | 38 + .../Renderer/Rich/SimpleXMLElementPlugin.php | 56 + .../Kint/Renderer/Rich/SourcePlugin.php | 83 + .../Kint/Renderer/Rich/TabPluginInterface.php | 35 + .../Kint/Renderer/Rich/TablePlugin.php | 141 + .../Kint/Renderer/Rich/TimestampPlugin.php | 44 + .../Kint/Renderer/Rich/TraceFramePlugin.php | 70 + .../Renderer/Rich/ValuePluginInterface.php | 35 + .../ThirdParty/Kint/Renderer/RichRenderer.php | 677 ++++ .../Kint/Renderer/Text/AbstractPlugin.php | 63 + .../Kint/Renderer/Text/ArrayLimitPlugin.php | 38 + .../Kint/Renderer/Text/BlacklistPlugin.php | 38 + .../Kint/Renderer/Text/DepthLimitPlugin.php | 38 + .../Kint/Renderer/Text/EnumPlugin.php | 38 + .../Kint/Renderer/Text/MicrotimePlugin.php | 130 + .../Kint/Renderer/Text/PluginInterface.php | 38 + .../Kint/Renderer/Text/RecursionPlugin.php | 38 + .../Kint/Renderer/Text/TracePlugin.php | 115 + .../ThirdParty/Kint/Renderer/TextRenderer.php | 391 ++ .../ci4/system/ThirdParty/Kint/Utils.php | 296 ++ .../system/ThirdParty/Kint/Zval/BlobValue.php | 201 + .../ThirdParty/Kint/Zval/ClosureValue.php | 58 + .../ThirdParty/Kint/Zval/DateTimeValue.php | 55 + .../system/ThirdParty/Kint/Zval/EnumValue.php | 74 + .../ThirdParty/Kint/Zval/InstanceValue.php | 74 + .../ThirdParty/Kint/Zval/MethodValue.php | 228 ++ .../Kint/Zval/ParameterHoldingTrait.php | 63 + .../ThirdParty/Kint/Zval/ParameterValue.php | 85 + .../Representation/ColorRepresentation.php | 571 +++ .../MethodDefinitionRepresentation.php | 76 + .../MicrotimeRepresentation.php | 73 + .../Zval/Representation/Representation.php | 73 + .../Representation/SourceRepresentation.php | 72 + .../SplFileInfoRepresentation.php | 196 + .../ThirdParty/Kint/Zval/ResourceValue.php | 51 + .../Kint/Zval/SimpleXMLElementValue.php | 54 + .../ThirdParty/Kint/Zval/StreamValue.php | 56 + .../ThirdParty/Kint/Zval/ThrowableValue.php | 52 + .../ThirdParty/Kint/Zval/TraceFrameValue.php | 107 + .../ThirdParty/Kint/Zval/TraceValue.php | 47 + .../ci4/system/ThirdParty/Kint/Zval/Value.php | 266 ++ .../ci4/system/ThirdParty/Kint/init.php | 73 + .../system/ThirdParty/Kint/init_helpers.php | 88 + .../Kint/resources/compiled/aante-dark.css | 1 + .../Kint/resources/compiled/aante-light.css | 1 + .../Kint/resources/compiled/microtime.js | 1 + .../Kint/resources/compiled/original.css | 1 + .../Kint/resources/compiled/plain.css | 1 + .../Kint/resources/compiled/plain.js | 1 + .../Kint/resources/compiled/rich.js | 1 + .../Kint/resources/compiled/shared.js | 1 + .../resources/compiled/solarized-dark.css | 1 + .../Kint/resources/compiled/solarized.css | 1 + .../ThirdParty/PSR/Log/AbstractLogger.php | 15 + .../PSR/Log/InvalidArgumentException.php | 7 + .../ci4/system/ThirdParty/PSR/Log/LICENSE | 19 + .../system/ThirdParty/PSR/Log/LogLevel.php | 18 + .../PSR/Log/LoggerAwareInterface.php | 18 + .../ThirdParty/PSR/Log/LoggerAwareTrait.php | 26 + .../ThirdParty/PSR/Log/LoggerInterface.php | 125 + .../system/ThirdParty/PSR/Log/LoggerTrait.php | 142 + .../system/ThirdParty/PSR/Log/NullLogger.php | 30 + public_html/ci4/system/Throttle/Throttler.php | 187 + .../system/Throttle/ThrottlerInterface.php | 46 + .../ci4/system/Traits/ConditionalTrait.php | 63 + .../ci4/system/Traits/PropertiesTrait.php | 80 + .../ci4/system/Typography/Typography.php | 344 ++ .../ci4/system/Validation/CreditCardRules.php | 283 ++ .../ci4/system/Validation/DotArrayFilter.php | 114 + .../Exceptions/ValidationException.php | 69 + .../ci4/system/Validation/FileRules.php | 263 ++ .../ci4/system/Validation/FormatRules.php | 472 +++ public_html/ci4/system/Validation/Rules.php | 460 +++ .../StrictRules/CreditCardRules.php | 55 + .../Validation/StrictRules/FileRules.php | 25 + .../Validation/StrictRules/FormatRules.php | 411 ++ .../system/Validation/StrictRules/Rules.php | 431 ++ .../ci4/system/Validation/Validation.php | 996 +++++ .../system/Validation/ValidationInterface.php | 165 + .../ci4/system/Validation/Views/list.php | 9 + .../ci4/system/Validation/Views/single.php | 1 + public_html/ci4/system/View/Cell.php | 313 ++ public_html/ci4/system/View/Cells/Cell.php | 155 + .../system/View/Exceptions/ViewException.php | 75 + public_html/ci4/system/View/Filters.php | 249 ++ public_html/ci4/system/View/Parser.php | 749 ++++ public_html/ci4/system/View/Plugins.php | 135 + .../ci4/system/View/RendererInterface.php | 76 + public_html/ci4/system/View/Table.php | 547 +++ public_html/ci4/system/View/View.php | 525 +++ .../system/View/ViewDecoratorInterface.php | 28 + .../ci4/system/View/ViewDecoratorTrait.php | 39 + public_html/ci4/system/bootstrap.php | 163 + public_html/ci4/system/index.html | 11 + public_html/ci4/system/rewrite.php | 45 + public_html/ci4/tests/.htaccess | 6 + public_html/ci4/tests/README.md | 118 + .../2020-02-22-222222_example_migration.php | 37 + .../_support/Database/Seeds/ExampleSeeder.php | 41 + .../tests/_support/Libraries/ConfigReader.php | 17 + .../tests/_support/Models/ExampleModel.php | 24 + .../tests/database/ExampleDatabaseTest.php | 46 + public_html/ci4/tests/index.html | 11 + .../ci4/tests/session/ExampleSessionTest.php | 18 + public_html/ci4/tests/unit/HealthTest.php | 50 + public_html/ci4/writable/.htaccess | 6 + public_html/ci4/writable/cache/index.html | 11 + .../debugbar/debugbar_1723276284.712232.json | 1 + .../debugbar/debugbar_1723276436.627317.json | 1 + .../debugbar/debugbar_1723276626.169521.json | 1 + .../debugbar/debugbar_1723277635.171051.json | 1 + .../debugbar/debugbar_1723277699.323132.json | 1 + public_html/ci4/writable/index.html | 11 + public_html/ci4/writable/logs/index.html | 11 + public_html/ci4/writable/session/index.html | 11 + public_html/ci4/writable/uploads/index.html | 11 + public_html/v4.5.4.zip | Bin 0 -> 1174553 bytes 691 files changed, 120497 insertions(+) create mode 100644 public_html/ci4/.env create mode 100644 public_html/ci4/LICENSE create mode 100644 public_html/ci4/README.md create mode 100644 public_html/ci4/app/.htaccess create mode 100644 public_html/ci4/app/Common.php create mode 100644 public_html/ci4/app/Config/App.php create mode 100644 public_html/ci4/app/Config/Autoload.php create mode 100644 public_html/ci4/app/Config/Boot/development.php create mode 100644 public_html/ci4/app/Config/Boot/production.php create mode 100644 public_html/ci4/app/Config/Boot/testing.php create mode 100644 public_html/ci4/app/Config/CURLRequest.php create mode 100644 public_html/ci4/app/Config/Cache.php create mode 100644 public_html/ci4/app/Config/Constants.php create mode 100644 public_html/ci4/app/Config/ContentSecurityPolicy.php create mode 100644 public_html/ci4/app/Config/Cookie.php create mode 100644 public_html/ci4/app/Config/Cors.php create mode 100644 public_html/ci4/app/Config/Database.php create mode 100644 public_html/ci4/app/Config/DocTypes.php create mode 100644 public_html/ci4/app/Config/Email.php create mode 100644 public_html/ci4/app/Config/Encryption.php create mode 100644 public_html/ci4/app/Config/Events.php create mode 100644 public_html/ci4/app/Config/Exceptions.php create mode 100644 public_html/ci4/app/Config/Feature.php create mode 100644 public_html/ci4/app/Config/Filters.php create mode 100644 public_html/ci4/app/Config/ForeignCharacters.php create mode 100644 public_html/ci4/app/Config/Format.php create mode 100644 public_html/ci4/app/Config/Generators.php create mode 100644 public_html/ci4/app/Config/Honeypot.php create mode 100644 public_html/ci4/app/Config/Images.php create mode 100644 public_html/ci4/app/Config/Kint.php create mode 100644 public_html/ci4/app/Config/Logger.php create mode 100644 public_html/ci4/app/Config/Migrations.php create mode 100644 public_html/ci4/app/Config/Mimes.php create mode 100644 public_html/ci4/app/Config/Modules.php create mode 100644 public_html/ci4/app/Config/Optimize.php create mode 100644 public_html/ci4/app/Config/Pager.php create mode 100644 public_html/ci4/app/Config/Paths.php create mode 100644 public_html/ci4/app/Config/Publisher.php create mode 100644 public_html/ci4/app/Config/Routes.php create mode 100644 public_html/ci4/app/Config/Routing.php create mode 100644 public_html/ci4/app/Config/Security.php create mode 100644 public_html/ci4/app/Config/Services.php create mode 100644 public_html/ci4/app/Config/Session.php create mode 100644 public_html/ci4/app/Config/Toolbar.php create mode 100644 public_html/ci4/app/Config/UserAgents.php create mode 100644 public_html/ci4/app/Config/Validation.php create mode 100644 public_html/ci4/app/Config/View.php create mode 100644 public_html/ci4/app/Controllers/BaseController.php create mode 100644 public_html/ci4/app/Controllers/Home.php create mode 100644 public_html/ci4/app/Database/Migrations/.gitkeep create mode 100644 public_html/ci4/app/Database/Seeds/.gitkeep create mode 100644 public_html/ci4/app/Filters/.gitkeep create mode 100644 public_html/ci4/app/Helpers/.gitkeep create mode 100644 public_html/ci4/app/Language/.gitkeep create mode 100644 public_html/ci4/app/Language/en/Validation.php create mode 100644 public_html/ci4/app/Libraries/.gitkeep create mode 100644 public_html/ci4/app/Models/.gitkeep create mode 100644 public_html/ci4/app/ThirdParty/.gitkeep create mode 100644 public_html/ci4/app/Views/errors/cli/error_404.php create mode 100644 public_html/ci4/app/Views/errors/cli/error_exception.php create mode 100644 public_html/ci4/app/Views/errors/cli/production.php create mode 100644 public_html/ci4/app/Views/errors/html/debug.css create mode 100644 public_html/ci4/app/Views/errors/html/debug.js create mode 100644 public_html/ci4/app/Views/errors/html/error_404.php create mode 100644 public_html/ci4/app/Views/errors/html/error_exception.php create mode 100644 public_html/ci4/app/Views/errors/html/production.php create mode 100644 public_html/ci4/app/Views/welcome_message.php create mode 100644 public_html/ci4/app/index.html create mode 100644 public_html/ci4/composer.json create mode 100644 public_html/ci4/env create mode 100644 public_html/ci4/phpunit.xml.dist create mode 100644 public_html/ci4/preload.php create mode 100644 public_html/ci4/public/.htaccess create mode 100644 public_html/ci4/public/favicon.ico create mode 100644 public_html/ci4/public/index.php create mode 100644 public_html/ci4/public/robots.txt create mode 100755 public_html/ci4/spark create mode 100644 public_html/ci4/system/.htaccess create mode 100644 public_html/ci4/system/API/ResponseTrait.php create mode 100644 public_html/ci4/system/Autoloader/Autoloader.php create mode 100644 public_html/ci4/system/Autoloader/FileLocator.php create mode 100644 public_html/ci4/system/Autoloader/FileLocatorCached.php create mode 100644 public_html/ci4/system/Autoloader/FileLocatorInterface.php create mode 100644 public_html/ci4/system/BaseModel.php create mode 100644 public_html/ci4/system/Boot.php create mode 100644 public_html/ci4/system/CLI/BaseCommand.php create mode 100644 public_html/ci4/system/CLI/CLI.php create mode 100644 public_html/ci4/system/CLI/Commands.php create mode 100644 public_html/ci4/system/CLI/Console.php create mode 100644 public_html/ci4/system/CLI/Exceptions/CLIException.php create mode 100644 public_html/ci4/system/CLI/GeneratorTrait.php create mode 100644 public_html/ci4/system/CLI/InputOutput.php create mode 100644 public_html/ci4/system/Cache/CacheFactory.php create mode 100644 public_html/ci4/system/Cache/CacheInterface.php create mode 100644 public_html/ci4/system/Cache/Exceptions/CacheException.php create mode 100644 public_html/ci4/system/Cache/FactoriesCache.php create mode 100644 public_html/ci4/system/Cache/FactoriesCache/FileVarExportHandler.php create mode 100644 public_html/ci4/system/Cache/Handlers/BaseHandler.php create mode 100644 public_html/ci4/system/Cache/Handlers/DummyHandler.php create mode 100644 public_html/ci4/system/Cache/Handlers/FileHandler.php create mode 100644 public_html/ci4/system/Cache/Handlers/MemcachedHandler.php create mode 100644 public_html/ci4/system/Cache/Handlers/PredisHandler.php create mode 100644 public_html/ci4/system/Cache/Handlers/RedisHandler.php create mode 100644 public_html/ci4/system/Cache/Handlers/WincacheHandler.php create mode 100644 public_html/ci4/system/Cache/ResponseCache.php create mode 100644 public_html/ci4/system/CodeIgniter.php create mode 100644 public_html/ci4/system/Commands/Cache/ClearCache.php create mode 100644 public_html/ci4/system/Commands/Cache/InfoCache.php create mode 100644 public_html/ci4/system/Commands/Database/CreateDatabase.php create mode 100644 public_html/ci4/system/Commands/Database/Migrate.php create mode 100644 public_html/ci4/system/Commands/Database/MigrateRefresh.php create mode 100644 public_html/ci4/system/Commands/Database/MigrateRollback.php create mode 100644 public_html/ci4/system/Commands/Database/MigrateStatus.php create mode 100644 public_html/ci4/system/Commands/Database/Seed.php create mode 100644 public_html/ci4/system/Commands/Database/ShowTableInfo.php create mode 100644 public_html/ci4/system/Commands/Encryption/GenerateKey.php create mode 100644 public_html/ci4/system/Commands/Generators/CellGenerator.php create mode 100644 public_html/ci4/system/Commands/Generators/CommandGenerator.php create mode 100644 public_html/ci4/system/Commands/Generators/ConfigGenerator.php create mode 100644 public_html/ci4/system/Commands/Generators/ControllerGenerator.php create mode 100644 public_html/ci4/system/Commands/Generators/EntityGenerator.php create mode 100644 public_html/ci4/system/Commands/Generators/FilterGenerator.php create mode 100644 public_html/ci4/system/Commands/Generators/MigrationGenerator.php create mode 100644 public_html/ci4/system/Commands/Generators/ModelGenerator.php create mode 100644 public_html/ci4/system/Commands/Generators/ScaffoldGenerator.php create mode 100644 public_html/ci4/system/Commands/Generators/SeederGenerator.php create mode 100644 public_html/ci4/system/Commands/Generators/TestGenerator.php create mode 100644 public_html/ci4/system/Commands/Generators/ValidationGenerator.php create mode 100644 public_html/ci4/system/Commands/Generators/Views/cell.tpl.php create mode 100644 public_html/ci4/system/Commands/Generators/Views/cell_view.tpl.php create mode 100644 public_html/ci4/system/Commands/Generators/Views/command.tpl.php create mode 100644 public_html/ci4/system/Commands/Generators/Views/config.tpl.php create mode 100644 public_html/ci4/system/Commands/Generators/Views/controller.tpl.php create mode 100644 public_html/ci4/system/Commands/Generators/Views/entity.tpl.php create mode 100644 public_html/ci4/system/Commands/Generators/Views/filter.tpl.php create mode 100644 public_html/ci4/system/Commands/Generators/Views/migration.tpl.php create mode 100644 public_html/ci4/system/Commands/Generators/Views/model.tpl.php create mode 100644 public_html/ci4/system/Commands/Generators/Views/seeder.tpl.php create mode 100644 public_html/ci4/system/Commands/Generators/Views/test.tpl.php create mode 100644 public_html/ci4/system/Commands/Generators/Views/validation.tpl.php create mode 100644 public_html/ci4/system/Commands/Help.php create mode 100644 public_html/ci4/system/Commands/Housekeeping/ClearDebugbar.php create mode 100644 public_html/ci4/system/Commands/Housekeeping/ClearLogs.php create mode 100644 public_html/ci4/system/Commands/ListCommands.php create mode 100644 public_html/ci4/system/Commands/Server/Serve.php create mode 100644 public_html/ci4/system/Commands/Translation/LocalizationFinder.php create mode 100644 public_html/ci4/system/Commands/Utilities/ConfigCheck.php create mode 100644 public_html/ci4/system/Commands/Utilities/Environment.php create mode 100644 public_html/ci4/system/Commands/Utilities/FilterCheck.php create mode 100644 public_html/ci4/system/Commands/Utilities/Namespaces.php create mode 100644 public_html/ci4/system/Commands/Utilities/Optimize.php create mode 100644 public_html/ci4/system/Commands/Utilities/PhpIniCheck.php create mode 100644 public_html/ci4/system/Commands/Utilities/Publish.php create mode 100644 public_html/ci4/system/Commands/Utilities/Routes.php create mode 100644 public_html/ci4/system/Commands/Utilities/Routes/AutoRouteCollector.php create mode 100644 public_html/ci4/system/Commands/Utilities/Routes/AutoRouterImproved/AutoRouteCollector.php create mode 100644 public_html/ci4/system/Commands/Utilities/Routes/AutoRouterImproved/ControllerMethodReader.php create mode 100644 public_html/ci4/system/Commands/Utilities/Routes/ControllerFinder.php create mode 100644 public_html/ci4/system/Commands/Utilities/Routes/ControllerMethodReader.php create mode 100644 public_html/ci4/system/Commands/Utilities/Routes/FilterCollector.php create mode 100644 public_html/ci4/system/Commands/Utilities/Routes/FilterFinder.php create mode 100644 public_html/ci4/system/Commands/Utilities/Routes/SampleURIGenerator.php create mode 100644 public_html/ci4/system/Common.php create mode 100644 public_html/ci4/system/ComposerScripts.php create mode 100644 public_html/ci4/system/Config/AutoloadConfig.php create mode 100644 public_html/ci4/system/Config/BaseConfig.php create mode 100644 public_html/ci4/system/Config/BaseService.php create mode 100644 public_html/ci4/system/Config/DotEnv.php create mode 100644 public_html/ci4/system/Config/Factories.php create mode 100644 public_html/ci4/system/Config/Factory.php create mode 100644 public_html/ci4/system/Config/Filters.php create mode 100644 public_html/ci4/system/Config/ForeignCharacters.php create mode 100644 public_html/ci4/system/Config/Publisher.php create mode 100644 public_html/ci4/system/Config/Routing.php create mode 100644 public_html/ci4/system/Config/Services.php create mode 100644 public_html/ci4/system/Config/View.php create mode 100644 public_html/ci4/system/Controller.php create mode 100644 public_html/ci4/system/Cookie/CloneableCookieInterface.php create mode 100644 public_html/ci4/system/Cookie/Cookie.php create mode 100644 public_html/ci4/system/Cookie/CookieInterface.php create mode 100644 public_html/ci4/system/Cookie/CookieStore.php create mode 100644 public_html/ci4/system/Cookie/Exceptions/CookieException.php create mode 100644 public_html/ci4/system/DataCaster/Cast/ArrayCast.php create mode 100644 public_html/ci4/system/DataCaster/Cast/BaseCast.php create mode 100644 public_html/ci4/system/DataCaster/Cast/BooleanCast.php create mode 100644 public_html/ci4/system/DataCaster/Cast/CSVCast.php create mode 100644 public_html/ci4/system/DataCaster/Cast/CastInterface.php create mode 100644 public_html/ci4/system/DataCaster/Cast/DatetimeCast.php create mode 100644 public_html/ci4/system/DataCaster/Cast/FloatCast.php create mode 100644 public_html/ci4/system/DataCaster/Cast/IntBoolCast.php create mode 100644 public_html/ci4/system/DataCaster/Cast/IntegerCast.php create mode 100644 public_html/ci4/system/DataCaster/Cast/JsonCast.php create mode 100644 public_html/ci4/system/DataCaster/Cast/TimestampCast.php create mode 100644 public_html/ci4/system/DataCaster/Cast/URICast.php create mode 100644 public_html/ci4/system/DataCaster/DataCaster.php create mode 100644 public_html/ci4/system/DataCaster/Exceptions/CastException.php create mode 100644 public_html/ci4/system/DataConverter/DataConverter.php create mode 100644 public_html/ci4/system/Database/BaseBuilder.php create mode 100644 public_html/ci4/system/Database/BaseConnection.php create mode 100644 public_html/ci4/system/Database/BasePreparedQuery.php create mode 100644 public_html/ci4/system/Database/BaseResult.php create mode 100644 public_html/ci4/system/Database/BaseUtils.php create mode 100644 public_html/ci4/system/Database/Config.php create mode 100644 public_html/ci4/system/Database/ConnectionInterface.php create mode 100644 public_html/ci4/system/Database/Database.php create mode 100644 public_html/ci4/system/Database/Exceptions/DataException.php create mode 100644 public_html/ci4/system/Database/Exceptions/DatabaseException.php create mode 100644 public_html/ci4/system/Database/Exceptions/ExceptionInterface.php create mode 100644 public_html/ci4/system/Database/Forge.php create mode 100644 public_html/ci4/system/Database/Migration.php create mode 100644 public_html/ci4/system/Database/MigrationRunner.php create mode 100644 public_html/ci4/system/Database/MySQLi/Builder.php create mode 100644 public_html/ci4/system/Database/MySQLi/Connection.php create mode 100644 public_html/ci4/system/Database/MySQLi/Forge.php create mode 100644 public_html/ci4/system/Database/MySQLi/PreparedQuery.php create mode 100644 public_html/ci4/system/Database/MySQLi/Result.php create mode 100644 public_html/ci4/system/Database/MySQLi/Utils.php create mode 100644 public_html/ci4/system/Database/OCI8/Builder.php create mode 100644 public_html/ci4/system/Database/OCI8/Connection.php create mode 100644 public_html/ci4/system/Database/OCI8/Forge.php create mode 100644 public_html/ci4/system/Database/OCI8/PreparedQuery.php create mode 100644 public_html/ci4/system/Database/OCI8/Result.php create mode 100644 public_html/ci4/system/Database/OCI8/Utils.php create mode 100644 public_html/ci4/system/Database/Postgre/Builder.php create mode 100644 public_html/ci4/system/Database/Postgre/Connection.php create mode 100644 public_html/ci4/system/Database/Postgre/Forge.php create mode 100644 public_html/ci4/system/Database/Postgre/PreparedQuery.php create mode 100644 public_html/ci4/system/Database/Postgre/Result.php create mode 100644 public_html/ci4/system/Database/Postgre/Utils.php create mode 100644 public_html/ci4/system/Database/PreparedQueryInterface.php create mode 100644 public_html/ci4/system/Database/Query.php create mode 100644 public_html/ci4/system/Database/QueryInterface.php create mode 100644 public_html/ci4/system/Database/RawSql.php create mode 100644 public_html/ci4/system/Database/ResultInterface.php create mode 100644 public_html/ci4/system/Database/SQLSRV/Builder.php create mode 100644 public_html/ci4/system/Database/SQLSRV/Connection.php create mode 100644 public_html/ci4/system/Database/SQLSRV/Forge.php create mode 100644 public_html/ci4/system/Database/SQLSRV/PreparedQuery.php create mode 100644 public_html/ci4/system/Database/SQLSRV/Result.php create mode 100644 public_html/ci4/system/Database/SQLSRV/Utils.php create mode 100644 public_html/ci4/system/Database/SQLite3/Builder.php create mode 100644 public_html/ci4/system/Database/SQLite3/Connection.php create mode 100644 public_html/ci4/system/Database/SQLite3/Forge.php create mode 100644 public_html/ci4/system/Database/SQLite3/PreparedQuery.php create mode 100644 public_html/ci4/system/Database/SQLite3/Result.php create mode 100644 public_html/ci4/system/Database/SQLite3/Table.php create mode 100644 public_html/ci4/system/Database/SQLite3/Utils.php create mode 100644 public_html/ci4/system/Database/Seeder.php create mode 100644 public_html/ci4/system/Debug/BaseExceptionHandler.php create mode 100644 public_html/ci4/system/Debug/ExceptionHandler.php create mode 100644 public_html/ci4/system/Debug/ExceptionHandlerInterface.php create mode 100644 public_html/ci4/system/Debug/Exceptions.php create mode 100644 public_html/ci4/system/Debug/Iterator.php create mode 100644 public_html/ci4/system/Debug/Timer.php create mode 100644 public_html/ci4/system/Debug/Toolbar.php create mode 100644 public_html/ci4/system/Debug/Toolbar/Collectors/BaseCollector.php create mode 100644 public_html/ci4/system/Debug/Toolbar/Collectors/Config.php create mode 100644 public_html/ci4/system/Debug/Toolbar/Collectors/Database.php create mode 100644 public_html/ci4/system/Debug/Toolbar/Collectors/Events.php create mode 100644 public_html/ci4/system/Debug/Toolbar/Collectors/Files.php create mode 100644 public_html/ci4/system/Debug/Toolbar/Collectors/History.php create mode 100644 public_html/ci4/system/Debug/Toolbar/Collectors/Logs.php create mode 100644 public_html/ci4/system/Debug/Toolbar/Collectors/Routes.php create mode 100644 public_html/ci4/system/Debug/Toolbar/Collectors/Timers.php create mode 100644 public_html/ci4/system/Debug/Toolbar/Collectors/Views.php create mode 100644 public_html/ci4/system/Debug/Toolbar/Views/_config.tpl create mode 100644 public_html/ci4/system/Debug/Toolbar/Views/_database.tpl create mode 100644 public_html/ci4/system/Debug/Toolbar/Views/_events.tpl create mode 100644 public_html/ci4/system/Debug/Toolbar/Views/_files.tpl create mode 100644 public_html/ci4/system/Debug/Toolbar/Views/_history.tpl create mode 100644 public_html/ci4/system/Debug/Toolbar/Views/_logs.tpl create mode 100644 public_html/ci4/system/Debug/Toolbar/Views/_routes.tpl create mode 100644 public_html/ci4/system/Debug/Toolbar/Views/toolbar.css create mode 100644 public_html/ci4/system/Debug/Toolbar/Views/toolbar.js create mode 100644 public_html/ci4/system/Debug/Toolbar/Views/toolbar.tpl.php create mode 100644 public_html/ci4/system/Debug/Toolbar/Views/toolbarloader.js create mode 100644 public_html/ci4/system/Email/Email.php create mode 100644 public_html/ci4/system/Encryption/EncrypterInterface.php create mode 100644 public_html/ci4/system/Encryption/Encryption.php create mode 100644 public_html/ci4/system/Encryption/Exceptions/EncryptionException.php create mode 100644 public_html/ci4/system/Encryption/Handlers/BaseHandler.php create mode 100644 public_html/ci4/system/Encryption/Handlers/OpenSSLHandler.php create mode 100644 public_html/ci4/system/Encryption/Handlers/SodiumHandler.php create mode 100644 public_html/ci4/system/Entity/Cast/ArrayCast.php create mode 100644 public_html/ci4/system/Entity/Cast/BaseCast.php create mode 100644 public_html/ci4/system/Entity/Cast/BooleanCast.php create mode 100644 public_html/ci4/system/Entity/Cast/CSVCast.php create mode 100644 public_html/ci4/system/Entity/Cast/CastInterface.php create mode 100644 public_html/ci4/system/Entity/Cast/DatetimeCast.php create mode 100644 public_html/ci4/system/Entity/Cast/FloatCast.php create mode 100644 public_html/ci4/system/Entity/Cast/IntBoolCast.php create mode 100644 public_html/ci4/system/Entity/Cast/IntegerCast.php create mode 100644 public_html/ci4/system/Entity/Cast/JsonCast.php create mode 100644 public_html/ci4/system/Entity/Cast/ObjectCast.php create mode 100644 public_html/ci4/system/Entity/Cast/StringCast.php create mode 100644 public_html/ci4/system/Entity/Cast/TimestampCast.php create mode 100644 public_html/ci4/system/Entity/Cast/URICast.php create mode 100644 public_html/ci4/system/Entity/Entity.php create mode 100644 public_html/ci4/system/Entity/Exceptions/CastException.php create mode 100644 public_html/ci4/system/Events/Events.php create mode 100644 public_html/ci4/system/Exceptions/ConfigException.php create mode 100644 public_html/ci4/system/Exceptions/CriticalError.php create mode 100644 public_html/ci4/system/Exceptions/DebugTraceableTrait.php create mode 100644 public_html/ci4/system/Exceptions/DownloadException.php create mode 100644 public_html/ci4/system/Exceptions/ExceptionInterface.php create mode 100644 public_html/ci4/system/Exceptions/FrameworkException.php create mode 100644 public_html/ci4/system/Exceptions/HTTPExceptionInterface.php create mode 100644 public_html/ci4/system/Exceptions/HasExitCodeInterface.php create mode 100644 public_html/ci4/system/Exceptions/ModelException.php create mode 100644 public_html/ci4/system/Exceptions/PageNotFoundException.php create mode 100644 public_html/ci4/system/Exceptions/TestException.php create mode 100644 public_html/ci4/system/Files/Exceptions/FileException.php create mode 100644 public_html/ci4/system/Files/Exceptions/FileNotFoundException.php create mode 100644 public_html/ci4/system/Files/File.php create mode 100644 public_html/ci4/system/Files/FileCollection.php create mode 100644 public_html/ci4/system/Filters/CSRF.php create mode 100644 public_html/ci4/system/Filters/Cors.php create mode 100644 public_html/ci4/system/Filters/DebugToolbar.php create mode 100644 public_html/ci4/system/Filters/Exceptions/FilterException.php create mode 100644 public_html/ci4/system/Filters/FilterInterface.php create mode 100644 public_html/ci4/system/Filters/Filters.php create mode 100644 public_html/ci4/system/Filters/ForceHTTPS.php create mode 100644 public_html/ci4/system/Filters/Honeypot.php create mode 100644 public_html/ci4/system/Filters/InvalidChars.php create mode 100644 public_html/ci4/system/Filters/PageCache.php create mode 100644 public_html/ci4/system/Filters/PerformanceMetrics.php create mode 100644 public_html/ci4/system/Filters/SecureHeaders.php create mode 100644 public_html/ci4/system/Format/Exceptions/FormatException.php create mode 100644 public_html/ci4/system/Format/Format.php create mode 100644 public_html/ci4/system/Format/FormatterInterface.php create mode 100644 public_html/ci4/system/Format/JSONFormatter.php create mode 100644 public_html/ci4/system/Format/XMLFormatter.php create mode 100644 public_html/ci4/system/HTTP/CLIRequest.php create mode 100644 public_html/ci4/system/HTTP/CURLRequest.php create mode 100644 public_html/ci4/system/HTTP/ContentSecurityPolicy.php create mode 100644 public_html/ci4/system/HTTP/Cors.php create mode 100644 public_html/ci4/system/HTTP/DownloadResponse.php create mode 100644 public_html/ci4/system/HTTP/Exceptions/BadRequestException.php create mode 100644 public_html/ci4/system/HTTP/Exceptions/HTTPException.php create mode 100644 public_html/ci4/system/HTTP/Exceptions/RedirectException.php create mode 100644 public_html/ci4/system/HTTP/Files/FileCollection.php create mode 100644 public_html/ci4/system/HTTP/Files/UploadedFile.php create mode 100644 public_html/ci4/system/HTTP/Files/UploadedFileInterface.php create mode 100644 public_html/ci4/system/HTTP/Header.php create mode 100644 public_html/ci4/system/HTTP/IncomingRequest.php create mode 100644 public_html/ci4/system/HTTP/Message.php create mode 100644 public_html/ci4/system/HTTP/MessageInterface.php create mode 100644 public_html/ci4/system/HTTP/MessageTrait.php create mode 100644 public_html/ci4/system/HTTP/Method.php create mode 100644 public_html/ci4/system/HTTP/Negotiate.php create mode 100644 public_html/ci4/system/HTTP/OutgoingRequest.php create mode 100644 public_html/ci4/system/HTTP/OutgoingRequestInterface.php create mode 100644 public_html/ci4/system/HTTP/RedirectResponse.php create mode 100644 public_html/ci4/system/HTTP/Request.php create mode 100644 public_html/ci4/system/HTTP/RequestInterface.php create mode 100644 public_html/ci4/system/HTTP/RequestTrait.php create mode 100644 public_html/ci4/system/HTTP/ResponsableInterface.php create mode 100644 public_html/ci4/system/HTTP/Response.php create mode 100644 public_html/ci4/system/HTTP/ResponseInterface.php create mode 100644 public_html/ci4/system/HTTP/ResponseTrait.php create mode 100644 public_html/ci4/system/HTTP/SiteURI.php create mode 100644 public_html/ci4/system/HTTP/SiteURIFactory.php create mode 100644 public_html/ci4/system/HTTP/URI.php create mode 100644 public_html/ci4/system/HTTP/UserAgent.php create mode 100644 public_html/ci4/system/Helpers/Array/ArrayHelper.php create mode 100644 public_html/ci4/system/Helpers/array_helper.php create mode 100644 public_html/ci4/system/Helpers/cookie_helper.php create mode 100644 public_html/ci4/system/Helpers/date_helper.php create mode 100644 public_html/ci4/system/Helpers/filesystem_helper.php create mode 100644 public_html/ci4/system/Helpers/form_helper.php create mode 100644 public_html/ci4/system/Helpers/html_helper.php create mode 100644 public_html/ci4/system/Helpers/inflector_helper.php create mode 100644 public_html/ci4/system/Helpers/kint_helper.php create mode 100644 public_html/ci4/system/Helpers/number_helper.php create mode 100644 public_html/ci4/system/Helpers/security_helper.php create mode 100644 public_html/ci4/system/Helpers/test_helper.php create mode 100644 public_html/ci4/system/Helpers/text_helper.php create mode 100644 public_html/ci4/system/Helpers/url_helper.php create mode 100644 public_html/ci4/system/Helpers/xml_helper.php create mode 100644 public_html/ci4/system/Honeypot/Exceptions/HoneypotException.php create mode 100644 public_html/ci4/system/Honeypot/Honeypot.php create mode 100644 public_html/ci4/system/HotReloader/DirectoryHasher.php create mode 100644 public_html/ci4/system/HotReloader/HotReloader.php create mode 100644 public_html/ci4/system/HotReloader/IteratorFilter.php create mode 100644 public_html/ci4/system/I18n/Exceptions/I18nException.php create mode 100644 public_html/ci4/system/I18n/Time.php create mode 100644 public_html/ci4/system/I18n/TimeDifference.php create mode 100644 public_html/ci4/system/I18n/TimeLegacy.php create mode 100644 public_html/ci4/system/I18n/TimeTrait.php create mode 100644 public_html/ci4/system/Images/Exceptions/ImageException.php create mode 100644 public_html/ci4/system/Images/Handlers/BaseHandler.php create mode 100644 public_html/ci4/system/Images/Handlers/GDHandler.php create mode 100644 public_html/ci4/system/Images/Handlers/ImageMagickHandler.php create mode 100644 public_html/ci4/system/Images/Image.php create mode 100644 public_html/ci4/system/Images/ImageHandlerInterface.php create mode 100644 public_html/ci4/system/Language/Language.php create mode 100644 public_html/ci4/system/Language/en/CLI.php create mode 100644 public_html/ci4/system/Language/en/Cache.php create mode 100644 public_html/ci4/system/Language/en/Cast.php create mode 100644 public_html/ci4/system/Language/en/Cookie.php create mode 100644 public_html/ci4/system/Language/en/Core.php create mode 100644 public_html/ci4/system/Language/en/Database.php create mode 100644 public_html/ci4/system/Language/en/Email.php create mode 100644 public_html/ci4/system/Language/en/Encryption.php create mode 100644 public_html/ci4/system/Language/en/Errors.php create mode 100644 public_html/ci4/system/Language/en/Fabricator.php create mode 100644 public_html/ci4/system/Language/en/Files.php create mode 100644 public_html/ci4/system/Language/en/Filters.php create mode 100644 public_html/ci4/system/Language/en/Format.php create mode 100644 public_html/ci4/system/Language/en/HTTP.php create mode 100644 public_html/ci4/system/Language/en/Images.php create mode 100644 public_html/ci4/system/Language/en/Language.php create mode 100644 public_html/ci4/system/Language/en/Log.php create mode 100644 public_html/ci4/system/Language/en/Migrations.php create mode 100644 public_html/ci4/system/Language/en/Number.php create mode 100644 public_html/ci4/system/Language/en/Pager.php create mode 100644 public_html/ci4/system/Language/en/Publisher.php create mode 100644 public_html/ci4/system/Language/en/RESTful.php create mode 100644 public_html/ci4/system/Language/en/Router.php create mode 100644 public_html/ci4/system/Language/en/Security.php create mode 100644 public_html/ci4/system/Language/en/Session.php create mode 100644 public_html/ci4/system/Language/en/Test.php create mode 100644 public_html/ci4/system/Language/en/Time.php create mode 100644 public_html/ci4/system/Language/en/Validation.php create mode 100644 public_html/ci4/system/Language/en/View.php create mode 100644 public_html/ci4/system/Log/Exceptions/LogException.php create mode 100644 public_html/ci4/system/Log/Handlers/BaseHandler.php create mode 100644 public_html/ci4/system/Log/Handlers/ChromeLoggerHandler.php create mode 100644 public_html/ci4/system/Log/Handlers/ErrorlogHandler.php create mode 100644 public_html/ci4/system/Log/Handlers/FileHandler.php create mode 100644 public_html/ci4/system/Log/Handlers/HandlerInterface.php create mode 100644 public_html/ci4/system/Log/Logger.php create mode 100644 public_html/ci4/system/Model.php create mode 100644 public_html/ci4/system/Modules/Modules.php create mode 100644 public_html/ci4/system/Pager/Exceptions/PagerException.php create mode 100644 public_html/ci4/system/Pager/Pager.php create mode 100644 public_html/ci4/system/Pager/PagerInterface.php create mode 100644 public_html/ci4/system/Pager/PagerRenderer.php create mode 100644 public_html/ci4/system/Pager/Views/default_full.php create mode 100644 public_html/ci4/system/Pager/Views/default_head.php create mode 100644 public_html/ci4/system/Pager/Views/default_simple.php create mode 100644 public_html/ci4/system/Publisher/ContentReplacer.php create mode 100644 public_html/ci4/system/Publisher/Exceptions/PublisherException.php create mode 100644 public_html/ci4/system/Publisher/Publisher.php create mode 100644 public_html/ci4/system/RESTful/BaseResource.php create mode 100644 public_html/ci4/system/RESTful/ResourceController.php create mode 100644 public_html/ci4/system/RESTful/ResourcePresenter.php create mode 100644 public_html/ci4/system/Router/AutoRouter.php create mode 100644 public_html/ci4/system/Router/AutoRouterImproved.php create mode 100644 public_html/ci4/system/Router/AutoRouterInterface.php create mode 100644 public_html/ci4/system/Router/DefinedRouteCollector.php create mode 100644 public_html/ci4/system/Router/Exceptions/MethodNotFoundException.php create mode 100644 public_html/ci4/system/Router/Exceptions/RedirectException.php create mode 100644 public_html/ci4/system/Router/Exceptions/RouterException.php create mode 100644 public_html/ci4/system/Router/RouteCollection.php create mode 100644 public_html/ci4/system/Router/RouteCollectionInterface.php create mode 100644 public_html/ci4/system/Router/Router.php create mode 100644 public_html/ci4/system/Router/RouterInterface.php create mode 100644 public_html/ci4/system/Security/CheckPhpIni.php create mode 100644 public_html/ci4/system/Security/Exceptions/SecurityException.php create mode 100644 public_html/ci4/system/Security/Security.php create mode 100644 public_html/ci4/system/Security/SecurityInterface.php create mode 100644 public_html/ci4/system/Session/Exceptions/SessionException.php create mode 100644 public_html/ci4/system/Session/Handlers/ArrayHandler.php create mode 100644 public_html/ci4/system/Session/Handlers/BaseHandler.php create mode 100644 public_html/ci4/system/Session/Handlers/Database/MySQLiHandler.php create mode 100644 public_html/ci4/system/Session/Handlers/Database/PostgreHandler.php create mode 100644 public_html/ci4/system/Session/Handlers/DatabaseHandler.php create mode 100644 public_html/ci4/system/Session/Handlers/FileHandler.php create mode 100644 public_html/ci4/system/Session/Handlers/MemcachedHandler.php create mode 100644 public_html/ci4/system/Session/Handlers/RedisHandler.php create mode 100644 public_html/ci4/system/Session/Session.php create mode 100644 public_html/ci4/system/Session/SessionInterface.php create mode 100644 public_html/ci4/system/Superglobals.php create mode 100644 public_html/ci4/system/Test/CIUnitTestCase.php create mode 100644 public_html/ci4/system/Test/ConfigFromArrayTrait.php create mode 100644 public_html/ci4/system/Test/Constraints/SeeInDatabase.php create mode 100644 public_html/ci4/system/Test/ControllerTestTrait.php create mode 100644 public_html/ci4/system/Test/DOMParser.php create mode 100644 public_html/ci4/system/Test/DatabaseTestTrait.php create mode 100644 public_html/ci4/system/Test/Fabricator.php create mode 100644 public_html/ci4/system/Test/FeatureTestTrait.php create mode 100644 public_html/ci4/system/Test/FilterTestTrait.php create mode 100644 public_html/ci4/system/Test/Filters/CITestStreamFilter.php create mode 100644 public_html/ci4/system/Test/IniTestTrait.php create mode 100644 public_html/ci4/system/Test/Interfaces/FabricatorModel.php create mode 100644 public_html/ci4/system/Test/Mock/MockAppConfig.php create mode 100644 public_html/ci4/system/Test/Mock/MockAutoload.php create mode 100644 public_html/ci4/system/Test/Mock/MockBuilder.php create mode 100644 public_html/ci4/system/Test/Mock/MockCLIConfig.php create mode 100644 public_html/ci4/system/Test/Mock/MockCURLRequest.php create mode 100644 public_html/ci4/system/Test/Mock/MockCache.php create mode 100644 public_html/ci4/system/Test/Mock/MockCodeIgniter.php create mode 100644 public_html/ci4/system/Test/Mock/MockCommon.php create mode 100644 public_html/ci4/system/Test/Mock/MockConnection.php create mode 100644 public_html/ci4/system/Test/Mock/MockEmail.php create mode 100644 public_html/ci4/system/Test/Mock/MockEvents.php create mode 100644 public_html/ci4/system/Test/Mock/MockFileLogger.php create mode 100644 public_html/ci4/system/Test/Mock/MockIncomingRequest.php create mode 100644 public_html/ci4/system/Test/Mock/MockInputOutput.php create mode 100644 public_html/ci4/system/Test/Mock/MockLanguage.php create mode 100644 public_html/ci4/system/Test/Mock/MockLogger.php create mode 100644 public_html/ci4/system/Test/Mock/MockQuery.php create mode 100644 public_html/ci4/system/Test/Mock/MockResourceController.php create mode 100644 public_html/ci4/system/Test/Mock/MockResourcePresenter.php create mode 100644 public_html/ci4/system/Test/Mock/MockResponse.php create mode 100644 public_html/ci4/system/Test/Mock/MockResult.php create mode 100644 public_html/ci4/system/Test/Mock/MockSecurity.php create mode 100644 public_html/ci4/system/Test/Mock/MockServices.php create mode 100644 public_html/ci4/system/Test/Mock/MockSession.php create mode 100644 public_html/ci4/system/Test/Mock/MockTable.php create mode 100644 public_html/ci4/system/Test/PhpStreamWrapper.php create mode 100644 public_html/ci4/system/Test/ReflectionHelper.php create mode 100644 public_html/ci4/system/Test/StreamFilterTrait.php create mode 100644 public_html/ci4/system/Test/TestLogger.php create mode 100644 public_html/ci4/system/Test/TestResponse.php create mode 100644 public_html/ci4/system/Test/bootstrap.php create mode 100644 public_html/ci4/system/ThirdParty/Escaper/Escaper.php create mode 100644 public_html/ci4/system/ThirdParty/Escaper/Exception/ExceptionInterface.php create mode 100644 public_html/ci4/system/ThirdParty/Escaper/Exception/InvalidArgumentException.php create mode 100644 public_html/ci4/system/ThirdParty/Escaper/Exception/RuntimeException.php create mode 100644 public_html/ci4/system/ThirdParty/Escaper/LICENSE.md create mode 100644 public_html/ci4/system/ThirdParty/Kint/CallFinder.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/FacadeInterface.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Kint.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/LICENSE create mode 100644 public_html/ci4/system/ThirdParty/Kint/Parser/AbstractPlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Parser/ArrayLimitPlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Parser/ArrayObjectPlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Parser/Base64Plugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Parser/BinaryPlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Parser/BlacklistPlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Parser/ClassMethodsPlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Parser/ClassStaticsPlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Parser/ClosurePlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Parser/ColorPlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Parser/ConstructablePluginInterface.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Parser/DOMDocumentPlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Parser/DateTimePlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Parser/EnumPlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Parser/FsPathPlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Parser/IteratorPlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Parser/JsonPlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Parser/MicrotimePlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Parser/MysqliPlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Parser/Parser.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Parser/PluginInterface.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Parser/ProxyPlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Parser/SerializePlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Parser/SimpleXMLElementPlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Parser/SplFileInfoPlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Parser/SplObjectStoragePlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Parser/StreamPlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Parser/TablePlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Parser/ThrowablePlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Parser/TimestampPlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Parser/ToStringPlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Parser/TracePlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Parser/XmlPlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Renderer/AbstractRenderer.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Renderer/CliRenderer.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Renderer/PlainRenderer.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Renderer/RendererInterface.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Renderer/Rich/AbstractPlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Renderer/Rich/ArrayLimitPlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Renderer/Rich/BinaryPlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Renderer/Rich/BlacklistPlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Renderer/Rich/CallablePlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Renderer/Rich/ClosurePlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Renderer/Rich/ColorPlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Renderer/Rich/DepthLimitPlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Renderer/Rich/MethodDefinitionPlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Renderer/Rich/MicrotimePlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Renderer/Rich/PluginInterface.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Renderer/Rich/RecursionPlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Renderer/Rich/SimpleXMLElementPlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Renderer/Rich/SourcePlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Renderer/Rich/TabPluginInterface.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Renderer/Rich/TablePlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Renderer/Rich/TimestampPlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Renderer/Rich/TraceFramePlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Renderer/Rich/ValuePluginInterface.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Renderer/RichRenderer.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Renderer/Text/AbstractPlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Renderer/Text/ArrayLimitPlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Renderer/Text/BlacklistPlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Renderer/Text/DepthLimitPlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Renderer/Text/EnumPlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Renderer/Text/MicrotimePlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Renderer/Text/PluginInterface.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Renderer/Text/RecursionPlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Renderer/Text/TracePlugin.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Renderer/TextRenderer.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Utils.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Zval/BlobValue.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Zval/ClosureValue.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Zval/DateTimeValue.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Zval/EnumValue.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Zval/InstanceValue.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Zval/MethodValue.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Zval/ParameterHoldingTrait.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Zval/ParameterValue.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Zval/Representation/ColorRepresentation.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Zval/Representation/MethodDefinitionRepresentation.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Zval/Representation/MicrotimeRepresentation.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Zval/Representation/Representation.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Zval/Representation/SourceRepresentation.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Zval/Representation/SplFileInfoRepresentation.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Zval/ResourceValue.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Zval/SimpleXMLElementValue.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Zval/StreamValue.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Zval/ThrowableValue.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Zval/TraceFrameValue.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Zval/TraceValue.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/Zval/Value.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/init.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/init_helpers.php create mode 100644 public_html/ci4/system/ThirdParty/Kint/resources/compiled/aante-dark.css create mode 100644 public_html/ci4/system/ThirdParty/Kint/resources/compiled/aante-light.css create mode 100644 public_html/ci4/system/ThirdParty/Kint/resources/compiled/microtime.js create mode 100644 public_html/ci4/system/ThirdParty/Kint/resources/compiled/original.css create mode 100644 public_html/ci4/system/ThirdParty/Kint/resources/compiled/plain.css create mode 100644 public_html/ci4/system/ThirdParty/Kint/resources/compiled/plain.js create mode 100644 public_html/ci4/system/ThirdParty/Kint/resources/compiled/rich.js create mode 100644 public_html/ci4/system/ThirdParty/Kint/resources/compiled/shared.js create mode 100644 public_html/ci4/system/ThirdParty/Kint/resources/compiled/solarized-dark.css create mode 100644 public_html/ci4/system/ThirdParty/Kint/resources/compiled/solarized.css create mode 100644 public_html/ci4/system/ThirdParty/PSR/Log/AbstractLogger.php create mode 100644 public_html/ci4/system/ThirdParty/PSR/Log/InvalidArgumentException.php create mode 100644 public_html/ci4/system/ThirdParty/PSR/Log/LICENSE create mode 100644 public_html/ci4/system/ThirdParty/PSR/Log/LogLevel.php create mode 100644 public_html/ci4/system/ThirdParty/PSR/Log/LoggerAwareInterface.php create mode 100644 public_html/ci4/system/ThirdParty/PSR/Log/LoggerAwareTrait.php create mode 100644 public_html/ci4/system/ThirdParty/PSR/Log/LoggerInterface.php create mode 100644 public_html/ci4/system/ThirdParty/PSR/Log/LoggerTrait.php create mode 100644 public_html/ci4/system/ThirdParty/PSR/Log/NullLogger.php create mode 100644 public_html/ci4/system/Throttle/Throttler.php create mode 100644 public_html/ci4/system/Throttle/ThrottlerInterface.php create mode 100644 public_html/ci4/system/Traits/ConditionalTrait.php create mode 100644 public_html/ci4/system/Traits/PropertiesTrait.php create mode 100644 public_html/ci4/system/Typography/Typography.php create mode 100644 public_html/ci4/system/Validation/CreditCardRules.php create mode 100644 public_html/ci4/system/Validation/DotArrayFilter.php create mode 100644 public_html/ci4/system/Validation/Exceptions/ValidationException.php create mode 100644 public_html/ci4/system/Validation/FileRules.php create mode 100644 public_html/ci4/system/Validation/FormatRules.php create mode 100644 public_html/ci4/system/Validation/Rules.php create mode 100644 public_html/ci4/system/Validation/StrictRules/CreditCardRules.php create mode 100644 public_html/ci4/system/Validation/StrictRules/FileRules.php create mode 100644 public_html/ci4/system/Validation/StrictRules/FormatRules.php create mode 100644 public_html/ci4/system/Validation/StrictRules/Rules.php create mode 100644 public_html/ci4/system/Validation/Validation.php create mode 100644 public_html/ci4/system/Validation/ValidationInterface.php create mode 100644 public_html/ci4/system/Validation/Views/list.php create mode 100644 public_html/ci4/system/Validation/Views/single.php create mode 100644 public_html/ci4/system/View/Cell.php create mode 100644 public_html/ci4/system/View/Cells/Cell.php create mode 100644 public_html/ci4/system/View/Exceptions/ViewException.php create mode 100644 public_html/ci4/system/View/Filters.php create mode 100644 public_html/ci4/system/View/Parser.php create mode 100644 public_html/ci4/system/View/Plugins.php create mode 100644 public_html/ci4/system/View/RendererInterface.php create mode 100644 public_html/ci4/system/View/Table.php create mode 100644 public_html/ci4/system/View/View.php create mode 100644 public_html/ci4/system/View/ViewDecoratorInterface.php create mode 100644 public_html/ci4/system/View/ViewDecoratorTrait.php create mode 100644 public_html/ci4/system/bootstrap.php create mode 100644 public_html/ci4/system/index.html create mode 100644 public_html/ci4/system/rewrite.php create mode 100644 public_html/ci4/tests/.htaccess create mode 100644 public_html/ci4/tests/README.md create mode 100644 public_html/ci4/tests/_support/Database/Migrations/2020-02-22-222222_example_migration.php create mode 100644 public_html/ci4/tests/_support/Database/Seeds/ExampleSeeder.php create mode 100644 public_html/ci4/tests/_support/Libraries/ConfigReader.php create mode 100644 public_html/ci4/tests/_support/Models/ExampleModel.php create mode 100644 public_html/ci4/tests/database/ExampleDatabaseTest.php create mode 100644 public_html/ci4/tests/index.html create mode 100644 public_html/ci4/tests/session/ExampleSessionTest.php create mode 100644 public_html/ci4/tests/unit/HealthTest.php create mode 100644 public_html/ci4/writable/.htaccess create mode 100644 public_html/ci4/writable/cache/index.html create mode 100644 public_html/ci4/writable/debugbar/debugbar_1723276284.712232.json create mode 100644 public_html/ci4/writable/debugbar/debugbar_1723276436.627317.json create mode 100644 public_html/ci4/writable/debugbar/debugbar_1723276626.169521.json create mode 100644 public_html/ci4/writable/debugbar/debugbar_1723277635.171051.json create mode 100644 public_html/ci4/writable/debugbar/debugbar_1723277699.323132.json create mode 100644 public_html/ci4/writable/index.html create mode 100644 public_html/ci4/writable/logs/index.html create mode 100644 public_html/ci4/writable/session/index.html create mode 100644 public_html/ci4/writable/uploads/index.html create mode 100644 public_html/v4.5.4.zip diff --git a/public_html/ci4/.env b/public_html/ci4/.env new file mode 100644 index 00000000..bfe6732f --- /dev/null +++ b/public_html/ci4/.env @@ -0,0 +1,69 @@ +#-------------------------------------------------------------------- +# Example Environment Configuration file +# +# This file can be used as a starting point for your own +# custom .env files, and contains most of the possible settings +# available in a default install. +# +# By default, all of the settings are commented out. If you want +# to override the setting, you must un-comment it by removing the '#' +# at the beginning of the line. +#-------------------------------------------------------------------- + +#-------------------------------------------------------------------- +# ENVIRONMENT +#-------------------------------------------------------------------- + +CI_ENVIRONMENT = development + +#-------------------------------------------------------------------- +# APP +#-------------------------------------------------------------------- + +app.baseURL = 'https://effective-garbanzo-r4r56jw5wx44f5gq6-80.app.github.dev/' +# If you have trouble with `.`, you could also use `_`. +# app_baseURL = '' +# app.forceGlobalSecureRequests = false +# app.CSPEnabled = false + +#-------------------------------------------------------------------- +# DATABASE +#-------------------------------------------------------------------- + +# database.default.hostname = localhost +# database.default.database = ci4 +# database.default.username = root +# database.default.password = root +# database.default.DBDriver = MySQLi +# database.default.DBPrefix = +# database.default.port = 3306 + +# If you use MySQLi as tests, first update the values of Config\Database::$tests. +# database.tests.hostname = localhost +# database.tests.database = ci4_test +# database.tests.username = root +# database.tests.password = root +# database.tests.DBDriver = MySQLi +# database.tests.DBPrefix = +# database.tests.charset = utf8mb4 +# database.tests.DBCollat = utf8mb4_general_ci +# database.tests.port = 3306 + +#-------------------------------------------------------------------- +# ENCRYPTION +#-------------------------------------------------------------------- + +# encryption.key = + +#-------------------------------------------------------------------- +# SESSION +#-------------------------------------------------------------------- + +# session.driver = 'CodeIgniter\Session\Handlers\FileHandler' +# session.savePath = null + +#-------------------------------------------------------------------- +# LOGGER +#-------------------------------------------------------------------- + +# logger.threshold = 4 diff --git a/public_html/ci4/LICENSE b/public_html/ci4/LICENSE new file mode 100644 index 00000000..148e7f73 --- /dev/null +++ b/public_html/ci4/LICENSE @@ -0,0 +1,22 @@ +The MIT License (MIT) + +Copyright (c) 2014-2019 British Columbia Institute of Technology +Copyright (c) 2019-2024 CodeIgniter Foundation + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/public_html/ci4/README.md b/public_html/ci4/README.md new file mode 100644 index 00000000..a23783ac --- /dev/null +++ b/public_html/ci4/README.md @@ -0,0 +1,60 @@ +# CodeIgniter 4 Framework + +## What is CodeIgniter? + +CodeIgniter is a PHP full-stack web framework that is light, fast, flexible and secure. +More information can be found at the [official site](https://codeigniter.com). + +This repository holds the distributable version of the framework. +It has been built from the +[development repository](https://github.com/codeigniter4/CodeIgniter4). + +More information about the plans for version 4 can be found in [CodeIgniter 4](https://forum.codeigniter.com/forumdisplay.php?fid=28) on the forums. + +You can read the [user guide](https://codeigniter.com/user_guide/) +corresponding to the latest version of the framework. + +## Important Change with index.php + +`index.php` is no longer in the root of the project! It has been moved inside the *public* folder, +for better security and separation of components. + +This means that you should configure your web server to "point" to your project's *public* folder, and +not to the project root. A better practice would be to configure a virtual host to point there. A poor practice would be to point your web server to the project root and expect to enter *public/...*, as the rest of your logic and the +framework are exposed. + +**Please** read the user guide for a better explanation of how CI4 works! + +## Repository Management + +We use GitHub issues, in our main repository, to track **BUGS** and to track approved **DEVELOPMENT** work packages. +We use our [forum](http://forum.codeigniter.com) to provide SUPPORT and to discuss +FEATURE REQUESTS. + +This repository is a "distribution" one, built by our release preparation script. +Problems with it can be raised on our forum, or as issues in the main repository. + +## Contributing + +We welcome contributions from the community. + +Please read the [*Contributing to CodeIgniter*](https://github.com/codeigniter4/CodeIgniter4/blob/develop/CONTRIBUTING.md) section in the development repository. + +## Server Requirements + +PHP version 8.1 or higher is required, with the following extensions installed: + +- [intl](http://php.net/manual/en/intl.requirements.php) +- [mbstring](http://php.net/manual/en/mbstring.installation.php) + +> [!WARNING] +> - The end of life date for PHP 7.4 was November 28, 2022. +> - The end of life date for PHP 8.0 was November 26, 2023. +> - If you are still using PHP 7.4 or 8.0, you should upgrade immediately. +> - The end of life date for PHP 8.1 will be December 31, 2025. + +Additionally, make sure that the following extensions are enabled in your PHP: + +- json (enabled by default - don't turn it off) +- [mysqlnd](http://php.net/manual/en/mysqlnd.install.php) if you plan to use MySQL +- [libcurl](http://php.net/manual/en/curl.requirements.php) if you plan to use the HTTP\CURLRequest library diff --git a/public_html/ci4/app/.htaccess b/public_html/ci4/app/.htaccess new file mode 100644 index 00000000..3462048a --- /dev/null +++ b/public_html/ci4/app/.htaccess @@ -0,0 +1,6 @@ + + Require all denied + + + Deny from all + diff --git a/public_html/ci4/app/Common.php b/public_html/ci4/app/Common.php new file mode 100644 index 00000000..95f55442 --- /dev/null +++ b/public_html/ci4/app/Common.php @@ -0,0 +1,15 @@ + + */ + public array $allowedHostnames = []; + + /** + * -------------------------------------------------------------------------- + * Index File + * -------------------------------------------------------------------------- + * + * Typically, this will be your `index.php` file, unless you've renamed it to + * something else. If you have configured your web server to remove this file + * from your site URIs, set this variable to an empty string. + */ + public string $indexPage = 'index.php'; + + /** + * -------------------------------------------------------------------------- + * URI PROTOCOL + * -------------------------------------------------------------------------- + * + * This item determines which server global should be used to retrieve the + * URI string. The default setting of 'REQUEST_URI' works for most servers. + * If your links do not seem to work, try one of the other delicious flavors: + * + * 'REQUEST_URI': Uses $_SERVER['REQUEST_URI'] + * 'QUERY_STRING': Uses $_SERVER['QUERY_STRING'] + * 'PATH_INFO': Uses $_SERVER['PATH_INFO'] + * + * WARNING: If you set this to 'PATH_INFO', URIs will always be URL-decoded! + */ + public string $uriProtocol = 'REQUEST_URI'; + + /* + |-------------------------------------------------------------------------- + | Allowed URL Characters + |-------------------------------------------------------------------------- + | + | This lets you specify which characters are permitted within your URLs. + | When someone tries to submit a URL with disallowed characters they will + | get a warning message. + | + | As a security measure you are STRONGLY encouraged to restrict URLs to + | as few characters as possible. + | + | By default, only these are allowed: `a-z 0-9~%.:_-` + | + | Set an empty string to allow all characters -- but only if you are insane. + | + | The configured value is actually a regular expression character group + | and it will be used as: '/\A[]+\z/iu' + | + | DO NOT CHANGE THIS UNLESS YOU FULLY UNDERSTAND THE REPERCUSSIONS!! + | + */ + public string $permittedURIChars = 'a-z 0-9~%.:_\-'; + + /** + * -------------------------------------------------------------------------- + * Default Locale + * -------------------------------------------------------------------------- + * + * The Locale roughly represents the language and location that your visitor + * is viewing the site from. It affects the language strings and other + * strings (like currency markers, numbers, etc), that your program + * should run under for this request. + */ + public string $defaultLocale = 'en'; + + /** + * -------------------------------------------------------------------------- + * Negotiate Locale + * -------------------------------------------------------------------------- + * + * If true, the current Request object will automatically determine the + * language to use based on the value of the Accept-Language header. + * + * If false, no automatic detection will be performed. + */ + public bool $negotiateLocale = false; + + /** + * -------------------------------------------------------------------------- + * Supported Locales + * -------------------------------------------------------------------------- + * + * If $negotiateLocale is true, this array lists the locales supported + * by the application in descending order of priority. If no match is + * found, the first locale will be used. + * + * IncomingRequest::setLocale() also uses this list. + * + * @var list + */ + public array $supportedLocales = ['en']; + + /** + * -------------------------------------------------------------------------- + * Application Timezone + * -------------------------------------------------------------------------- + * + * The default timezone that will be used in your application to display + * dates with the date helper, and can be retrieved through app_timezone() + * + * @see https://www.php.net/manual/en/timezones.php for list of timezones + * supported by PHP. + */ + public string $appTimezone = 'UTC'; + + /** + * -------------------------------------------------------------------------- + * Default Character Set + * -------------------------------------------------------------------------- + * + * This determines which character set is used by default in various methods + * that require a character set to be provided. + * + * @see http://php.net/htmlspecialchars for a list of supported charsets. + */ + public string $charset = 'UTF-8'; + + /** + * -------------------------------------------------------------------------- + * Force Global Secure Requests + * -------------------------------------------------------------------------- + * + * If true, this will force every request made to this application to be + * made via a secure connection (HTTPS). If the incoming request is not + * secure, the user will be redirected to a secure version of the page + * and the HTTP Strict Transport Security (HSTS) header will be set. + */ + public bool $forceGlobalSecureRequests = false; + + /** + * -------------------------------------------------------------------------- + * Reverse Proxy IPs + * -------------------------------------------------------------------------- + * + * If your server is behind a reverse proxy, you must whitelist the proxy + * IP addresses from which CodeIgniter should trust headers such as + * X-Forwarded-For or Client-IP in order to properly identify + * the visitor's IP address. + * + * You need to set a proxy IP address or IP address with subnets and + * the HTTP header for the client IP address. + * + * Here are some examples: + * [ + * '10.0.1.200' => 'X-Forwarded-For', + * '192.168.5.0/24' => 'X-Real-IP', + * ] + * + * @var array + */ + public array $proxyIPs = []; + + /** + * -------------------------------------------------------------------------- + * Content Security Policy + * -------------------------------------------------------------------------- + * + * Enables the Response's Content Secure Policy to restrict the sources that + * can be used for images, scripts, CSS files, audio, video, etc. If enabled, + * the Response object will populate default values for the policy from the + * `ContentSecurityPolicy.php` file. Controllers can always add to those + * restrictions at run time. + * + * For a better understanding of CSP, see these documents: + * + * @see http://www.html5rocks.com/en/tutorials/security/content-security-policy/ + * @see http://www.w3.org/TR/CSP/ + */ + public bool $CSPEnabled = false; +} diff --git a/public_html/ci4/app/Config/Autoload.php b/public_html/ci4/app/Config/Autoload.php new file mode 100644 index 00000000..76cd9263 --- /dev/null +++ b/public_html/ci4/app/Config/Autoload.php @@ -0,0 +1,94 @@ +|string> + */ + public $psr4 = [ + APP_NAMESPACE => APPPATH, + ]; + + /** + * ------------------------------------------------------------------- + * Class Map + * ------------------------------------------------------------------- + * The class map provides a map of class names and their exact + * location on the drive. Classes loaded in this manner will have + * slightly faster performance because they will not have to be + * searched for within one or more directories as they would if they + * were being autoloaded through a namespace. + * + * Prototype: + * $classmap = [ + * 'MyClass' => '/path/to/class/file.php' + * ]; + * + * @var array + */ + public $classmap = []; + + /** + * ------------------------------------------------------------------- + * Files + * ------------------------------------------------------------------- + * The files array provides a list of paths to __non-class__ files + * that will be autoloaded. This can be useful for bootstrap operations + * or for loading functions. + * + * Prototype: + * $files = [ + * '/path/to/my/file.php', + * ]; + * + * @var list + */ + public $files = []; + + /** + * ------------------------------------------------------------------- + * Helpers + * ------------------------------------------------------------------- + * Prototype: + * $helpers = [ + * 'form', + * ]; + * + * @var list + */ + public $helpers = []; +} diff --git a/public_html/ci4/app/Config/Boot/development.php b/public_html/ci4/app/Config/Boot/development.php new file mode 100644 index 00000000..a868447a --- /dev/null +++ b/public_html/ci4/app/Config/Boot/development.php @@ -0,0 +1,34 @@ + + */ + public array $file = [ + 'storePath' => WRITEPATH . 'cache/', + 'mode' => 0640, + ]; + + /** + * ------------------------------------------------------------------------- + * Memcached settings + * ------------------------------------------------------------------------- + * Your Memcached servers can be specified below, if you are using + * the Memcached drivers. + * + * @see https://codeigniter.com/user_guide/libraries/caching.html#memcached + * + * @var array + */ + public array $memcached = [ + 'host' => '127.0.0.1', + 'port' => 11211, + 'weight' => 1, + 'raw' => false, + ]; + + /** + * ------------------------------------------------------------------------- + * Redis settings + * ------------------------------------------------------------------------- + * Your Redis server can be specified below, if you are using + * the Redis or Predis drivers. + * + * @var array + */ + public array $redis = [ + 'host' => '127.0.0.1', + 'password' => null, + 'port' => 6379, + 'timeout' => 0, + 'database' => 0, + ]; + + /** + * -------------------------------------------------------------------------- + * Available Cache Handlers + * -------------------------------------------------------------------------- + * + * This is an array of cache engine alias' and class names. Only engines + * that are listed here are allowed to be used. + * + * @var array> + */ + public array $validHandlers = [ + 'dummy' => DummyHandler::class, + 'file' => FileHandler::class, + 'memcached' => MemcachedHandler::class, + 'predis' => PredisHandler::class, + 'redis' => RedisHandler::class, + 'wincache' => WincacheHandler::class, + ]; + + /** + * -------------------------------------------------------------------------- + * Web Page Caching: Cache Include Query String + * -------------------------------------------------------------------------- + * + * Whether to take the URL query string into consideration when generating + * output cache files. Valid options are: + * + * false = Disabled + * true = Enabled, take all query parameters into account. + * Please be aware that this may result in numerous cache + * files generated for the same page over and over again. + * ['q'] = Enabled, but only take into account the specified list + * of query parameters. + * + * @var bool|list + */ + public $cacheQueryString = false; +} diff --git a/public_html/ci4/app/Config/Constants.php b/public_html/ci4/app/Config/Constants.php new file mode 100644 index 00000000..47b92f83 --- /dev/null +++ b/public_html/ci4/app/Config/Constants.php @@ -0,0 +1,94 @@ +|string|null + */ + public $defaultSrc; + + /** + * Lists allowed scripts' URLs. + * + * @var list|string + */ + public $scriptSrc = 'self'; + + /** + * Lists allowed stylesheets' URLs. + * + * @var list|string + */ + public $styleSrc = 'self'; + + /** + * Defines the origins from which images can be loaded. + * + * @var list|string + */ + public $imageSrc = 'self'; + + /** + * Restricts the URLs that can appear in a page's `` element. + * + * Will default to self if not overridden + * + * @var list|string|null + */ + public $baseURI; + + /** + * Lists the URLs for workers and embedded frame contents + * + * @var list|string + */ + public $childSrc = 'self'; + + /** + * Limits the origins that you can connect to (via XHR, + * WebSockets, and EventSource). + * + * @var list|string + */ + public $connectSrc = 'self'; + + /** + * Specifies the origins that can serve web fonts. + * + * @var list|string + */ + public $fontSrc; + + /** + * Lists valid endpoints for submission from `
` tags. + * + * @var list|string + */ + public $formAction = 'self'; + + /** + * Specifies the sources that can embed the current page. + * This directive applies to ``, `