mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Fixed PHP strict standard where non-variables cannot be passed by reference (from r113968)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@114541 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
edc7a46d21
commit
e340ccb1ad
@ -49,7 +49,8 @@ class DatabaseAdapterRegistry {
|
||||
? $config['missingExtensionText']
|
||||
: 'The PHP extension is missing, please enable or install it.';
|
||||
|
||||
$moduleName = array_shift(explode('/', $config['helperPath']));
|
||||
$path = explode('/', $config['helperPath']);
|
||||
$moduleName = array_shift($path);
|
||||
$missingModuleText = isset($config['missingModuleText'])
|
||||
? $config['missingModuleText']
|
||||
: 'The SilverStripe module, '.$moduleName.', is missing or incomplete. Please <a href="http://silverstripe.org/modules">download it</a>.';
|
||||
|
Loading…
Reference in New Issue
Block a user