Fix issue with core/Core.php includes

Fix PHP 5.5 compatibility issue
This commit is contained in:
Damian Mooyman 2016-09-08 16:31:02 +12:00
parent 8dd644d25d
commit 77d1677304
No known key found for this signature in database
GPG Key ID: 78B823A10DE27D1A
4 changed files with 6 additions and 6 deletions

View File

@ -20,10 +20,10 @@ class ProtectedAssetAdapter extends AssetAdapter implements ProtectedAdapter {
private static $server_configuration = array(
'apache' => array(
'.htaccess' => __CLASS__ . "_HTAccess"
'.htaccess' => "SilverStripe\\Assets\\Flysystem\\ProtectedAssetAdapter_HTAccess"
),
'microsoft-iis' => array(
'web.config' => __CLASS__ . "_WebConfig"
'web.config' => "SilverStripe\\Assets\\Flysystem\\ProtectedAssetAdapter_WebConfig"
)
);

View File

@ -15,10 +15,10 @@ class PublicAssetAdapter extends AssetAdapter implements PublicAdapter {
*/
private static $server_configuration = array(
'apache' => array(
'.htaccess' => __CLASS__ . "_HTAccess"
'.htaccess' => "SilverStripe\\Assets\\Flysystem\\PublicAssetAdapter_HTAccess"
),
'microsoft-iis' => array(
'web.config' => __CLASS__ . "_WebConfig"
'web.config' => "SilverStripe\\Assets\\Flysystem\\PublicAssetAdapter_WebConfig"
)
);

View File

@ -1432,7 +1432,7 @@ PHP
$this->statusMessage("Building database schema...");
require_once 'core/Core.php';
require_once 'Core/Core.php';
// Build database
$con = new Controller();

View File

@ -72,7 +72,7 @@ else {
/**
* Include SilverStripe's core code
*/
require_once("core/Core.php");
require_once("Core/Core.php");
global $databaseConfig;