parent
8d4089c22a
commit
812f9af949
|
@ -31,7 +31,7 @@ class ApplicationConfigForm extends Form
|
|||
{
|
||||
$this->addElement(
|
||||
'text',
|
||||
'global_modulePath',
|
||||
'global_module_path',
|
||||
array(
|
||||
'label' => t('Module Path'),
|
||||
'required' => true,
|
||||
|
|
|
@ -41,7 +41,7 @@ class GeneralConfigForm extends ConfigForm
|
|||
{
|
||||
$sections = array();
|
||||
foreach ($this->getValues() as $sectionAndPropertyName => $value) {
|
||||
list($section, $property) = explode('_', $sectionAndPropertyName);
|
||||
list($section, $property) = explode('_', $sectionAndPropertyName, 2);
|
||||
if (! isset($sections[$section])) {
|
||||
$sections[$section] = array();
|
||||
}
|
||||
|
|
|
@ -372,7 +372,7 @@ abstract class ApplicationBootstrap
|
|||
$this->moduleManager = new ModuleManager(
|
||||
$this,
|
||||
$this->configDir . '/enabledModules',
|
||||
explode(':', $this->config->fromSection('global', 'modulePath', $this->baseDir . '/modules'))
|
||||
explode(':', $this->config->fromSection('global', 'module_path', $this->baseDir . '/modules'))
|
||||
);
|
||||
return $this;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue