(string)loadClass('Mysql')->getDBSize($_GET['database']), 'table' => (string)loadClass('Mysql')->getTableCount($_GET['database']) )); } else if (isset($_GET['type']) && $_GET['type'] == 'postgres') { $schema = isset($_GET['schema']) ? $_GET['schema'] : ''; echo json_encode(array( 'size' => (string)loadClass('Postgres')->getSchemaSize($_GET['database'], $schema), 'table' => (string)loadClass('Postgres')->getTableCount($_GET['database'], $schema) )); } } else if (isset($_GET['vhost'])) { echo loadClass('Docker')->PHP_checkVirtualHost($_GET['vhost']); }