SAAS-547: Refactor upgrade procedure in 2.5.x-installer branch
* Start using "schema_version" key instead of "system_version" * Refactored the upgrade code a bit and make it be automatically invoked from the Zend bootstrap if a schema update is needed. * Fixed error logging in certain cases * Fixed an exception in Show related to image_path
This commit is contained in:
parent
5abe364a69
commit
2cb26db84b
7 changed files with 81 additions and 34 deletions
|
@ -24,9 +24,12 @@ class ErrorController extends Zend_Controller_Action
|
|||
}
|
||||
|
||||
// Log exception, if logger available
|
||||
/* No idea why this doesn't work or why it was implemented like this. Disabling it -- Albert
|
||||
if (($log = $this->getLog())) {
|
||||
$log->crit($this->view->message, $errors->exception);
|
||||
}
|
||||
}*/
|
||||
//Logging that actually works: -- Albert
|
||||
Logging::error($this->view->message . ": " . $errors->exception);
|
||||
|
||||
// conditionally display exceptions
|
||||
if ($this->getInvokeArg('displayExceptions') == true) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue