Stable release of v3.1.19
We fixed #972 so that custom code (in the header) will be added after the power namespaces. We added a message to show when a server move failed. We fixed the BaseConfig to not use '_' as separator. We fixed the footable loading issue. We removed the need for passing placeholders by reference. We added the option to generate a CHANGELOG. We fixed the server class to load new client if server details changed. We fixed the readme placeholder issue #978. We fixed the empty server url issue #978. Fixed Package import to now use the phplibsec version 3.
This commit is contained in:
@ -625,8 +625,7 @@ class Infusion extends Interpretation
|
||||
if (isset($view['port']) && $view['port']
|
||||
|| 1 == $view['settings']->add_custom_import)
|
||||
{
|
||||
$this->eximportView[$nameListCode]
|
||||
= true;
|
||||
$this->eximportView[$nameListCode] = true;
|
||||
if (1 == $view['settings']->add_custom_import)
|
||||
{
|
||||
// this view has custom import scripting
|
||||
@ -1382,6 +1381,14 @@ class Infusion extends Interpretation
|
||||
CFactory::_('Content')->set_('import', 'IMPORT_SAVE_METHOD', PHP_EOL . PHP_EOL . CFactory::_('Placeholder')->update_(
|
||||
ComponentbuilderHelper::getDynamicScripts('save')
|
||||
));
|
||||
// IMPORT_CONTROLLER_HEADER <<<DYNAMIC>>> add the header details for the controller
|
||||
CFactory::_('Content')->set_('import', 'IMPORT_CONTROLLER_HEADER', $this->setFileHeader(
|
||||
'import.controller', 'import'
|
||||
));
|
||||
// IMPORT_MODEL_HEADER <<<DYNAMIC>>> add the header details for the model
|
||||
CFactory::_('Content')->set_('import', 'IMPORT_MODEL_HEADER', $this->setFileHeader(
|
||||
'import.model', 'import'
|
||||
));
|
||||
}
|
||||
|
||||
// ensure that the ajax model and controller is set if needed
|
||||
@ -1798,6 +1805,12 @@ class Infusion extends Interpretation
|
||||
CFactory::_('Content')->set('README', CFactory::_('Component')->get('readme'));
|
||||
}
|
||||
|
||||
// CHANGELOG
|
||||
if (($changelog = CFactory::_('Component')->get('changelog')) !== null)
|
||||
{
|
||||
CFactory::_('Content')->set('CHANGELOG', $changelog);
|
||||
}
|
||||
|
||||
// Infuse POWERS
|
||||
CFactory::_('Power.Infusion')->set();
|
||||
|
||||
|
Reference in New Issue
Block a user