#11126 fixed error ajax
This commit is contained in:
parent
ee231c1ee4
commit
1b989c168b
|
@ -35,6 +35,7 @@ class Database extends Element
|
|||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
include_once $config['homedir'].'/include/graphs/fgraph.php';
|
||||
$this->title = __('Database');
|
||||
$this->ajaxMethods = [
|
||||
'getStatus',
|
||||
|
|
|
@ -35,6 +35,7 @@ class Overview extends Element
|
|||
public function __construct()
|
||||
{
|
||||
global $config;
|
||||
include_once $config['homedir'].'/include/graphs/fgraph.php';
|
||||
parent::__construct();
|
||||
if (is_ajax() === true) {
|
||||
include_once $config['homedir'].'/include/functions_servers.php';
|
||||
|
|
Loading…
Reference in New Issue