]> BookStack Code Mirror - system-cli/commit
Fixed script-relative app locator when running as phar
authorDan Brown <redacted>
Mon, 22 May 2023 07:30:44 +0000 (08:30 +0100)
committerDan Brown <redacted>
Mon, 22 May 2023 07:31:50 +0000 (08:31 +0100)
commit88530332093fee51148b04c2f16a1b8f638b1211
tree7c8dc790617a80e046f346357c1456cd2ab70a45
parentdf21bb3e4f751b6ddf616c19bc135dd980c50c47
Fixed script-relative app locator when running as phar

Was previously doubling up on the dirname usage leading the locator to
look at the parent dir when running as a phar, likely due to the CLI
being previously nested in an app dir.
Fixes #9
src/Services/AppLocator.php