diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 51c5fddc5..dea940878 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,57 +1,63 @@ - - - - ./app - - - ./app/Views - ./app/Config/Routes.php - - - - - - - - - - - ./tests - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + ./tests + + + + + + + + + + ./app + + + ./app/Views + ./app/Config/Routes.php + + + + + + + + + + + + + + diff --git a/preload.php b/preload.php index 63c781c22..2fa699388 100644 --- a/preload.php +++ b/preload.php @@ -49,11 +49,12 @@ class preload */ private array $paths = [ [ - 'include' => __DIR__ . '/vendor/codeigniter4/framework/system', + 'include' => __DIR__ . '/vendor/codeigniter4/framework/system', // Change this path if using manual installation 'exclude' => [ // Not needed if you don't use them. '/system/Database/OCI8/', '/system/Database/Postgre/', + '/system/Database/SQLite3/', '/system/Database/SQLSRV/', // Not needed. '/system/Database/Seeder.php', diff --git a/tests/.htaccess b/tests/.htaccess new file mode 100644 index 000000000..3462048ad --- /dev/null +++ b/tests/.htaccess @@ -0,0 +1,6 @@ + + Require all denied + + + Deny from all + diff --git a/writable/debugbar/.gitkeep b/writable/debugbar/.gitkeep deleted file mode 100644 index e69de29bb..000000000 diff --git a/writable/index.html b/writable/index.html new file mode 100644 index 000000000..b702fbc39 --- /dev/null +++ b/writable/index.html @@ -0,0 +1,11 @@ + + + + 403 Forbidden + + + +

Directory access is forbidden.

+ + +