diff --git a/preload.php b/admin/starter/preload.php similarity index 95% rename from preload.php rename to admin/starter/preload.php index 7e1a04956fa9..f36bacf3b0d1 100644 --- a/preload.php +++ b/admin/starter/preload.php @@ -41,15 +41,14 @@ function str_contains(string $haystack, string $needle): bool } } -class Preload +class preload { /** * @var array Paths to preload. */ private array $paths = [ [ - 'include' => // __DIR__ . '/vendor/codeigniter4/framework/system', - __DIR__ . '/system', + 'include' => __DIR__ . '/vendor/codeigniter4/framework/system', 'exclude' => [ // Not needed if you don't use them. '/system/Database/OCI8/', @@ -110,4 +109,4 @@ public function load() } } -(new Preload())->load(); +(new preload())->load();