|
From: OryNider <ory...@us...> - 2008-03-05 20:53:21
|
Update of /cvsroot/mxbb/core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv5016 Modified Files: common.php Log Message: obtain_phpbb_config should not query phpbb_config table on every refresh, altrog this is never working for me with tru or false :( Index: common.php =================================================================== RCS file: /cvsroot/mxbb/core/common.php,v retrieving revision 1.87 retrieving revision 1.88 diff -C2 -d -r1.87 -r1.88 *** common.php 22 Feb 2008 23:02:49 -0000 1.87 --- common.php 5 Mar 2008 20:51:57 -0000 1.88 *************** *** 348,352 **** // - optional parameter to enable/disable cache for config data. If enabled, remember to refresh the MX-Publisher cache whenever updating phpBB config settings // - true: enable cache, false: disable cache ! $board_config = $mx_cache->obtain_phpbb_config(false); } $script_name_phpbb = preg_replace('/^\/?(.*?)\/?$/', "\\1", trim($board_config['script_path'])) . '/'; --- 348,352 ---- // - optional parameter to enable/disable cache for config data. If enabled, remember to refresh the MX-Publisher cache whenever updating phpBB config settings // - true: enable cache, false: disable cache ! $board_config = $mx_cache->obtain_phpbb_config(true); } $script_name_phpbb = preg_replace('/^\/?(.*?)\/?$/', "\\1", trim($board_config['script_path'])) . '/'; *************** *** 358,362 **** // - optional parameter to enable/disable cache for config data. If enabled, remember to refresh the MX-Publisher cache whenever updating phpBB config settings // - true: enable cache, false: disable cache ! $board_config = $mx_cache->obtain_phpbb_config(false); $script_name_phpbb = preg_replace('/^\/?(.*?)\/?$/', "\\1", trim($board_config['script_path'])) . '/'; break; --- 358,362 ---- // - optional parameter to enable/disable cache for config data. If enabled, remember to refresh the MX-Publisher cache whenever updating phpBB config settings // - true: enable cache, false: disable cache ! $board_config = $mx_cache->obtain_phpbb_config(true); $script_name_phpbb = preg_replace('/^\/?(.*?)\/?$/', "\\1", trim($board_config['script_path'])) . '/'; break; |