2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * display the binary logs and the content of the selected
12 require_once 'libraries/common.inc.php';
15 * Does the common work
17 require_once 'libraries/server_common.inc.php';
19 require_once 'libraries/server_bin_log.lib.php';
22 * array binary log files
24 $binary_logs = PMA_DRIZZLE
26 : $GLOBALS['dbi']->fetchResult(
31 PMA_DatabaseInterface
::QUERY_STORE
34 if (! isset($_REQUEST['log'])
35 ||
! array_key_exists($_REQUEST['log'], $binary_logs)
37 $_REQUEST['log'] = '';
39 $url_params['log'] = $_REQUEST['log'];
42 if (!empty($_REQUEST['dontlimitchars'])) {
43 $url_params['dontlimitchars'] = 1;
46 $response = PMA_Response
::getInstance();
48 $response->addHTML(PMA_getHtmlForSubPageHeader('binlog'));
49 $response->addHTML(PMA_getLogSelector($binary_logs, $url_params));
50 $response->addHTML(PMA_getLogInfo($binary_logs, $url_params));