mirror of
https://github.com/danog/class-finder.git
synced 2024-11-30 04:29:03 +01:00
Fix working directory
This commit is contained in:
parent
ad3c854638
commit
fb18493be6
@ -23,7 +23,7 @@ class AppConfig
|
|||||||
$appRoot = $this->appRoot;
|
$appRoot = $this->appRoot;
|
||||||
} else {
|
} else {
|
||||||
$workingDirectory = str_replace('\\', '/', __DIR__);
|
$workingDirectory = str_replace('\\', '/', __DIR__);
|
||||||
$workingDirectory = str_replace('/vendor/haydenpierce/class-finder/src', '', $workingDirectory);
|
$workingDirectory = str_replace('/vendor/danog/class-finder/src', '', $workingDirectory);
|
||||||
$directoryPathPieces = explode('/', $workingDirectory);
|
$directoryPathPieces = explode('/', $workingDirectory);
|
||||||
|
|
||||||
$appRoot = null;
|
$appRoot = null;
|
||||||
|
Loading…
Reference in New Issue
Block a user