include stylesheet in correct order
authorchriskl <chriskl>
Thu, 2 Jan 2003 02:21:39 +0000 (02:21 +0000)
committerchriskl <chriskl>
Thu, 2 Jan 2003 02:21:39 +0000 (02:21 +0000)
libraries/errorhandler.inc.php

index cd6a7d9e6b1533d76818a9739be899b051a326e1..c7982d4d54765fb81db2252897d1535e9a3e7584 100644 (file)
@@ -3,7 +3,7 @@
 /**
  * Overrides default ADODB error handler to provide nicer error handling.
  *
- * $Id: errorhandler.inc.php,v 1.3 2002/12/27 16:22:44 chriskl Exp $
+ * $Id: errorhandler.inc.php,v 1.4 2003/01/02 02:21:39 chriskl Exp $
  */
 
 define('ADODB_ERROR_HANDLER','Error_Handler');
@@ -38,11 +38,11 @@ function Error_Handler($dbms, $fn, $errno, $errmsg, $p1=false, $p2=false)
        case 'CONNECT':
                include('../conf/config.inc.php');
                $_failed = true;
-               include($appBase . '/login.php');
                // Theme
                echo "<style type=\"text/css\">\n<!--\n";
                include("../themes/{$guiTheme}/global.css");
                echo "\n-->\n</style>\n";
+               include($appBase . '/login.php');
                exit;
                break;
        default: