|
From: OryNider <ory...@us...> - 2008-01-06 22:29:06
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv4601/includes Modified Files: mx_functions_core.php mx_functions_phpbb.php Log Message: cache optimizer, I can't code againg :(( Index: mx_functions_core.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_core.php,v retrieving revision 1.54 retrieving revision 1.55 diff -C2 -d -r1.54 -r1.55 *** mx_functions_core.php 13 Sep 2007 19:32:57 -0000 1.54 --- mx_functions_core.php 6 Jan 2008 22:28:57 -0000 1.55 *************** *** 114,117 **** --- 114,122 ---- 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 ) ) ) { Index: mx_functions_phpbb.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_phpbb.php,v retrieving revision 1.34 retrieving revision 1.35 diff -C2 -d -r1.34 -r1.35 *** mx_functions_phpbb.php 14 Dec 2007 02:13:26 -0000 1.34 --- mx_functions_phpbb.php 6 Jan 2008 22:28:57 -0000 1.35 *************** *** 376,380 **** //$theme = $mx_user->_setup_style($board_config['default_style']); } ! // // If the header hasn't been output then do it --- 376,380 ---- //$theme = $mx_user->_setup_style($board_config['default_style']); } ! $default_lang = $mx_user->lang['default_lang']; // // If the header hasn't been output then do it |