mirror of
https://github.com/danog/class-finder.git
synced 2024-11-29 20:18:59 +01:00
Fix working directory
This commit is contained in:
parent
ad3c854638
commit
fb18493be6
@ -23,7 +23,7 @@ class AppConfig
|
||||
$appRoot = $this->appRoot;
|
||||
} else {
|
||||
$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);
|
||||
|
||||
$appRoot = null;
|
||||
|
Loading…
Reference in New Issue
Block a user