mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-07-01 17:09:38 +02:00
The recent flush filter fix had a problem that you couldnt set a custom BASE_PATH in _ss_environment because that file didnt get included until after checking the confirmation token. This patch pulls the part of Core.php that defines BASE_PATH into a seperate file that can be included earlier in the startup sequence so that ParameterConfirmationToken can access it. Core.php includes Constants.php with a require_once call, so for startup scripts that dont pull in Constants.php themselves (like cli-script.php) no change is needed. |
||
---|---|---|
.. | ||
manifest | ||
startup | ||
ArrayLib.php | ||
ClassInfo.php | ||
Config.php | ||
Constants.php | ||
Convert.php | ||
Core.php | ||
DAG.php | ||
Diff.php | ||
Extension.php | ||
HTMLCleaner.php | ||
Object.php | ||
PaginatedList.php | ||
TempPath.php |