diff options
author | Erich Eckner <git@eckner.net> | 2018-04-17 13:30:43 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-04-17 13:30:43 +0200 |
commit | d71ef8a35787bce195db69e2e70e74032e6aa1d5 (patch) | |
tree | bb4ee6a1441dd49ea1810f636f13be95796667c4 /lib/mysql.php | |
parent | 336ca22abf7f14444185fe8543d7188a248b5a06 (diff) | |
download | archweb32-d71ef8a35787bce195db69e2e70e74032e6aa1d5.tar.xz |
show warning on stopped slave
Diffstat (limited to 'lib/mysql.php')
-rw-r--r-- | lib/mysql.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mysql.php b/lib/mysql.php index 94d35b8..d595d64 100644 --- a/lib/mysql.php +++ b/lib/mysql.php @@ -22,6 +22,6 @@ function show_warning_on_offline_slave() { $result = mysql_run_query("SHOW STATUS LIKE \"Slave_running\""); if (($result -> num_rows == 0) || ($result -> fetch_assoc() ["Value"] != "ON")) { - print "<div><font color=\"fff0000\">The replication slave is currently not running. The database might be outdated.</font></div>"; + print "<div><font color=\"fff0000\">The replication slave is currently not running. The database might be outdated.</font></div>\n"; } } |