mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
Ensure that Zend is loaded when showing status information in the CLI
fixes #7869
This commit is contained in:
parent
b214ed5d3b
commit
196b6a4875
@ -351,7 +351,7 @@ abstract class ApplicationBootstrap
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
protected function setupZendAutoloader()
|
||||
public function setupZendAutoloader()
|
||||
{
|
||||
require_once 'Zend/Loader/Autoloader.php';
|
||||
|
||||
|
@ -25,6 +25,7 @@ class ListCommand extends Command
|
||||
|
||||
public function init()
|
||||
{
|
||||
$this->app->setupZendAutoloader();
|
||||
$this->backend = Backend::createBackend($this->params->shift('backend'));
|
||||
$this->dumpSql = $this->params->shift('showsql');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user