Skip to content

Commit 094c540

Browse files
committed
fix: point console root dir to resolve paths
1 parent 0a55022 commit 094c540

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

leaf

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
#!/usr/bin/env php
22
<?php
33

4+
/*
5+
|--------------------------------------------------------------------------
6+
| Switch to root path
7+
|--------------------------------------------------------------------------
8+
|
9+
| Point to the application root directory so leaf can accurately
10+
| resolve app paths.
11+
|
12+
*/
13+
chdir(__DIR__);
14+
415
/*
516
|--------------------------------------------------------------------------
617
| Register The Auto Loader

0 commit comments

Comments
 (0)