Skip to content
Snippets Groups Projects
Commit d0a83910 authored by Ghislain Loas's avatar Ghislain Loas
Browse files

hotline MT #141251 fix run with scripts/upgrade_db.php

parent 5324b6e0
Branches
Tags
3 merge requests!4207Master,!4206Hotline,!4203hotline MT #141251 fix run with scripts/upgrade_db.php
Pipeline #14704 passed with stage
in 56 minutes and 39 seconds
......@@ -34,9 +34,25 @@ class Class_Migration_CleanProfileCfgModules {
$front_controller =
Zend_Controller_Front::getInstance()
->setRequest($this->_request)
->throwExceptions(true)
->returnResponse(false);
->setRequest($this->_request)
->throwExceptions(true)
->returnResponse(false);
$this->_dispatcher = $front_controller->getDispatcher();
if ( $this->_dispatcher->isValidModule('opac'))
return;
(new Bokeh_Engine)
->warmUp()
->setupControllerActionHelper()
->setupFrontController();
$front_controller =
Zend_Controller_Front::getInstance()
->setRequest($this->_request)
->throwExceptions(true)
->returnResponse(false);
$this->_dispatcher = $front_controller->getDispatcher();
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment