From: <in...@us...> - 2003-02-19 23:34:47
|
Update of /cvsroot/mantisbt/mantisbt In directory sc8-pr-cvs1:/tmp/cvs-serv9672 Modified Files: core.php Added Files: mantis_offline.php.sample Log Message: * core.php: Fixed merge conflict. --- NEW FILE: mantis_offline.php.sample --- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html> <head> <title>Mantis</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Refresh" content="600" /> <style type="text/css"> <!-- body { background-color: white; } h1 { font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; font-size: 20px; text-align: center; margin: 0; padding: 5px; color: black; background-color: #c8c8e8; } p { font-family: Verdana, Arial, Helvetica, sans-serif; text-align: left; margin: 10px; padding: 0; } #box { padding: 0; margin-top: 20%; margin-left: 25%; margin-right: 25%; border: 1px solid #777; background-color: #eee; } --> </style> </head> <body> <div id="box"> <h1>Mantis</h1> <p> Mantis bugtracking is currently offline for maintenance. Please check back later to see if Mantis is online again or contact your local Administrator for details. </p> <p> Use your browsers refresh or reload function to try again in a few minutes. </p> </div> </body> </html> Index: core.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/core.php,v retrieving revision 1.27 retrieving revision 1.28 diff -u -d -r1.27 -r1.28 --- core.php 19 Feb 2003 20:09:28 -0000 1.27 +++ core.php 19 Feb 2003 23:34:41 -0000 1.28 @@ -29,9 +29,9 @@ # parameter 'mbadmin=1' to the URL. # $t_mantis_offline = 'mantis_offline.php'; - if ( file_exists( $t_mantis_offline ) && !isset( $_GET['mbadmin'] ) ) { - include( dirname( __FILE__ ).DIRECTORY_SEPARATOR.$t_mantis_offline ); - exit; + if ( file_exists( $t_mantis_offline ) && !isset($_GET['mbadmin'])) { + include( $t_mantis_offline); + die; } |