From: Tom Gilder Date: Thu, 6 Oct 2005 03:24:02 +0000 (+0000) Subject: Even better: use the site name and logo to look all pretty whilst buggered, like... X-Git-Tag: 1.6.0~1534 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=849028aefffb507d097c88dbdb7b8a1e1bfa8264;p=lhc%2Fweb%2Fwiklou.git Even better: use the site name and logo to look all pretty whilst buggered, like a cheap whore with too much makeup --- diff --git a/includes/Database.php b/includes/Database.php index 526e2b6791..51d2e745ad 100644 --- a/includes/Database.php +++ b/includes/Database.php @@ -1706,12 +1706,12 @@ class ResultWrapper { */ function wfEmergencyAbort( &$conn, $error ) { global $wgTitle, $wgUseFileCache, $title, $wgInputEncoding, $wgOutputEncoding; - global $wgSitename, $wgServer, $wgMessageCache; + global $wgSitename, $wgServer, $wgMessageCache, $wgLogo; # I give up, Brion is right. Getting the message cache to work when there is no DB is tricky. # Hard coding strings instead. - $noconnect = '

Wiki currently offline

Sorry! This site is experiencing technical difficulties.

(Can\'t contact the database server: $1)

'; + $noconnect = "

$wgSitename is currently offline

Sorry! This site is experiencing technical difficulties.

(Can't contact the database server: $1)

"; $mainpage = 'Main Page'; $searchdisabled = <<$wgSitename search is disabled for performance reasons. You can search via Google in the meantime.