Hello,
im trying to make a core and instances, i want to be able to overide controller in core, by controller in instance, so i need to specify multiple directories. But its not just working.
The module is called cms
$controller->setControllerDirectory(
array(
'cms' => LIBS_ROOT . '/application/controllers/cms',
'default' => LIBS_ROOT . '/application/controllers/cms'
)
);
i want something like this
$controller->setControllerDirectory(
array(
'cms' => array(LIBS_ROOT . '/application/controllers/cms', SERVER_ROOT . '/application/controllers/cms'),
'default' => LIBS_ROOT . '/application/controllers/cms'
)
);
Any suggestions please ?
Thank you