Skip to content

Commit 3e7f640

Browse files
authored
Merge pull request #6088 from samsonasik/move-preload
Move preload.php example to starter app
2 parents cab0c68 + 8e4a669 commit 3e7f640

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

preload.php renamed to admin/starter/preload.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,14 @@ function str_contains(string $haystack, string $needle): bool
4141
}
4242
}
4343

44-
class Preload
44+
class preload
4545
{
4646
/**
4747
* @var array Paths to preload.
4848
*/
4949
private array $paths = [
5050
[
51-
'include' => // __DIR__ . '/vendor/codeigniter4/framework/system',
52-
__DIR__ . '/system',
51+
'include' => __DIR__ . '/vendor/codeigniter4/framework/system',
5352
'exclude' => [
5453
// Not needed if you don't use them.
5554
'/system/Database/OCI8/',
@@ -110,4 +109,4 @@ public function load()
110109
}
111110
}
112111

113-
(new Preload())->load();
112+
(new preload())->load();

0 commit comments

Comments
 (0)