Translated using Weblate (Slovenian)
[phpmyadmin.git] / server_status.php
blob9eb4d52e8443b8e35f71eeb8c234d25f9a91deab
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * object the server status page: processes, connections and traffic
6 * @package PhpMyAdmin
7 */
9 require_once 'libraries/common.inc.php';
10 require_once 'libraries/server_common.inc.php';
11 require_once 'libraries/ServerStatusData.class.php';
12 require_once 'libraries/server_status.lib.php';
14 /**
15 * Replication library
17 if (PMA_DRIZZLE) {
18 $GLOBALS['replication_info'] = array();
19 $GLOBALS['replication_info']['master']['status'] = false;
20 $GLOBALS['replication_info']['slave']['status'] = false;
21 } else {
22 include_once 'libraries/replication.inc.php';
23 include_once 'libraries/replication_gui.lib.php';
26 $ServerStatusData = new PMA_ServerStatusData();
28 /**
29 * start output
31 $response = PMA_Response::getInstance();
32 $response->addHTML('<div>');
33 $response->addHTML($ServerStatusData->getMenuHtml());
34 $response->addHTML(PMA_getHtmlForServerStatus($ServerStatusData));
35 $response->addHTML('</div>');
37 exit;