From: Mark G. <jol...@us...> - 2005-03-02 09:19:48
|
Update of /cvsroot/phppgadmin/webdb/libraries In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26334/libraries Modified Files: Tag: DEV_TREE lib.inc.php Log Message: Don't perform checkExtraSecurity when $_no_db_connection is set. Index: lib.inc.php =================================================================== RCS file: /cvsroot/phppgadmin/webdb/libraries/lib.inc.php,v retrieving revision 1.92.2.1 retrieving revision 1.92.2.2 diff -C2 -d -r1.92.2.1 -r1.92.2.2 *** lib.inc.php 1 Mar 2005 10:42:28 -0000 1.92.2.1 --- lib.inc.php 2 Mar 2005 09:19:35 -0000 1.92.2.2 *************** *** 125,135 **** include("./lang/recoded/{$_SESSION['webdbLanguage']}.php"); - // If extra login check fails, back to the login screen - $_allowed = $misc->checkExtraSecurity(); - if (!$_allowed) { - include('./login.php'); - exit; - } - // Check database support is properly compiled in if (!function_exists('pg_connect')) { --- 125,128 ---- *************** *** 145,148 **** --- 138,148 ---- } + // If extra login check fails, back to the login screen + $_allowed = $misc->checkExtraSecurity(); + if (!$_allowed) { + include('./login.php'); + exit; + } + $_server_info = $misc->getServerInfo(); |