mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Fix case of required paths
This commit is contained in:
parent
15d62fe788
commit
eaac957248
6
main.php
6
main.php
@ -23,7 +23,7 @@ use SilverStripe\Control\Director;
|
|||||||
|
|
||||||
if (version_compare(phpversion(), '5.5.0', '<')) {
|
if (version_compare(phpversion(), '5.5.0', '<')) {
|
||||||
header($_SERVER['SERVER_PROTOCOL'] . " 500 Server Error");
|
header($_SERVER['SERVER_PROTOCOL'] . " 500 Server Error");
|
||||||
echo str_replace('$PHPVersion', phpversion(), file_get_contents("dev/install/php5-required.html"));
|
echo str_replace('$PHPVersion', phpversion(), file_get_contents("Dev/Install/php5-required.html"));
|
||||||
die();
|
die();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -131,8 +131,8 @@ if (substr(strtolower($url), 0, strlen(BASE_URL)) == strtolower(BASE_URL)) $url
|
|||||||
/**
|
/**
|
||||||
* Include SilverStripe's core code
|
* Include SilverStripe's core code
|
||||||
*/
|
*/
|
||||||
require_once('core/startup/ErrorControlChain.php');
|
require_once('Core/Startup/ErrorControlChain.php');
|
||||||
require_once('core/startup/ParameterConfirmationToken.php');
|
require_once('Core/Startup/ParameterConfirmationToken.php');
|
||||||
|
|
||||||
// Prepare tokens and execute chain
|
// Prepare tokens and execute chain
|
||||||
$reloadToken = ParameterConfirmationToken::prepare_tokens(array('isTest', 'isDev', 'flush'));
|
$reloadToken = ParameterConfirmationToken::prepare_tokens(array('isTest', 'isDev', 'flush'));
|
||||||
|
Loading…
Reference in New Issue
Block a user