mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Fix issue with core/Core.php includes
Fix PHP 5.5 compatibility issue
This commit is contained in:
parent
8dd644d25d
commit
77d1677304
@ -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"
|
||||
)
|
||||
);
|
||||
|
||||
|
@ -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"
|
||||
)
|
||||
);
|
||||
|
||||
|
@ -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();
|
||||
|
@ -72,7 +72,7 @@ else {
|
||||
/**
|
||||
* Include SilverStripe's core code
|
||||
*/
|
||||
require_once("core/Core.php");
|
||||
require_once("Core/Core.php");
|
||||
|
||||
global $databaseConfig;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user