Merge pull request #4060 from annando/system-unavailable
"system_unavailable.php" is unavailable now
This commit is contained in:
commit
369fcb7bae
4 changed files with 15 additions and 23 deletions
|
@ -97,7 +97,7 @@ class dba {
|
|||
if (!self::$connected) {
|
||||
self::$db = null;
|
||||
if (!$install) {
|
||||
system_unavailable();
|
||||
System::unavailable();
|
||||
}
|
||||
}
|
||||
$a->save_timestamp($stamp1, "network");
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
<?php
|
||||
|
||||
function system_down() {
|
||||
echo <<< EOT
|
||||
<html>
|
||||
<head><title>System Unavailable</title></head>
|
||||
<body>
|
||||
Apologies but this site is unavailable at the moment. Please try again later.
|
||||
</body>
|
||||
</html>
|
||||
EOT;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue