Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX BASE_PATH fallback assumed wrong file location (silverstripe#9977)
The file was moved back in 2017 with silverstripe@3873e4b#diff-8ce3f007bef0668c2c08320160362229abce9614025dc2a5b729d1b2b56ed3f7, but the logic wasn't updated. That wasn't apparent since the fallback usually doesn't need to be triggered. Whenever constants.php is included through the standard composer autoload, the debug_backtrace() logic took priority. This is an important piece for using CoreKernel directly to boot Silverstripe, which I'm currently attempting through a composer plugin (so a different autoloading path). https://github.com/silverstripe/silverstripe-graphql-composer-plugin
- Loading branch information