diff --git a/mysql_replication_status.phtml b/mysql_replication_status.phtml
index cc624cc..a07ebf5 100644
--- a/mysql_replication_status.phtml
+++ b/mysql_replication_status.phtml
@@ -1,35 +1,38 @@
"CDRTool_Session",
- "auth" => "CDRTool_Auth",
- "perm" => "CDRTool_Perm"));
+ array(
+ "sess" => "CDRTool_Session",
+ "auth" => "CDRTool_Auth",
+ "perm" => "CDRTool_Perm"
+ )
+);
$perm->check("admin");
-$title="MySQL replication status";
+$title = "MySQL replication status";
if (is_readable("/etc/cdrtool/local/header.phtml")) {
include("/etc/cdrtool/local/header.phtml");
} else {
include("header.phtml");
}
$layout = new pageLayoutLocal();
$layout->showTopMenu($title);
require("mysql_replication.php");
$ReplicationOverview = new ReplicationOverview($replicated_databases);
$ReplicationOverview->showOverview();
-
+
$layout->showFooter();
print "
-