|
From: OryNider <ory...@us...> - 2008-01-13 13:14:47
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv23441 Modified Files: mx_functions_core.php Log Message: Index: mx_functions_core.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_core.php,v retrieving revision 1.56 retrieving revision 1.57 diff -C2 -d -r1.56 -r1.57 *** mx_functions_core.php 9 Jan 2008 02:15:03 -0000 1.56 --- mx_functions_core.php 13 Jan 2008 13:14:38 -0000 1.57 *************** *** 114,127 **** WHERE portal_id = '1'"; - if (!function_exists('mx_message_die')) - { - //die("This hosting or server is using a cache optimizer not compatible with phpBB and mxBB :("); - } - if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt query portal configuration', '', __LINE__, __FILE__, $sql ); } - $row = $db->sql_fetchrow( $result ); foreach ( $row as $config_name => $config_value ) --- 114,128 ---- WHERE portal_id = '1'"; if ( !( $result = $db->sql_query( $sql ) ) ) { ! if (!function_exists('mx_message_die')) ! { ! die("Couldnt query portal configuration, Allso this hosting or server is using a cache optimizer not compatible with mxBB or just lost connection to database wile query."); ! } ! else ! { ! mx_message_die( GENERAL_ERROR, 'Couldnt query portal configuration', '', __LINE__, __FILE__, $sql ); ! } } $row = $db->sql_fetchrow( $result ); foreach ( $row as $config_name => $config_value ) |