mirror of https://github.com/BOINC/boinc.git
svn path=/trunk/boinc/; revision=15570
This commit is contained in:
parent
f69a288ac0
commit
f65d1927ae
|
@ -5579,3 +5579,4 @@ David 8 July 2008
|
|||
file_xfer.C
|
||||
html/inc/
|
||||
boinc_db.inc
|
||||
util.inc
|
||||
|
|
|
@ -52,6 +52,8 @@ function get_logged_in_user($must_be_logged_in=true) {
|
|||
global $g_logged_in_user;
|
||||
if ($g_logged_in_user) return $g_logged_in_user;
|
||||
|
||||
check_web_stopped();
|
||||
|
||||
$x = ereg(
|
||||
"curl|wget|libww|lwp::simple|lwp-trivial|fetch|rufusbot|java/|microsoft url control|webreaper",
|
||||
strtolower($_SERVER[HTTP_USER_AGENT])
|
||||
|
@ -688,7 +690,7 @@ function check_web_stopped() {
|
|||
if ($generating_xml) {
|
||||
xml_error(-183);
|
||||
} else {
|
||||
//page_head("Not available");
|
||||
page_head("Project down for maintenance");
|
||||
echo "This page requires database access.
|
||||
Our database server is temporarily shut down for maintenance.
|
||||
Please try again later.
|
||||
|
|
Loading…
Reference in New Issue