|
From: Jon O. <jon...@us...> - 2006-08-14 10:42:19
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv21992/includes Modified Files: mx_functions_admincp.php mx_functions_tools.php Log Message: Pak updates module cache is updated - new clean cache method Index: mx_functions_admincp.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_admincp.php,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** mx_functions_admincp.php 13 Aug 2006 19:25:26 -0000 1.27 --- mx_functions_admincp.php 14 Aug 2006 10:42:13 -0000 1.28 *************** *** 2419,2423 **** } - echo('<br>HERE<br>'.$module_data['3'].'<br>'.$module_id.'<br>'.$module_data['5']); $safe_row = mx_get_info(FUNCTION_TABLE, 'module_id', $module_id, 'function_file', $module_data['5']); --- 2419,2422 ---- Index: mx_functions_tools.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_tools.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** mx_functions_tools.php 4 Aug 2006 16:33:12 -0000 1.7 --- mx_functions_tools.php 14 Aug 2006 10:42:13 -0000 1.8 *************** *** 19,23 **** // This 'include' is needed for the mx_text class // ! include_once($phpbb_root_path . 'includes/bbcode.'.$phpEx); /** --- 19,23 ---- // This 'include' is needed for the mx_text class // ! @include_once($phpbb_root_path . 'includes/bbcode.'.$phpEx); /** *************** *** 1542,1546 **** // Includes // ! include_once( $phpbb_root_path . 'includes/functions_post.' . $phpEx ); /** --- 1542,1546 ---- // Includes // ! @include_once( $phpbb_root_path . 'includes/functions_post.' . $phpEx ); /** *************** *** 2207,2210 **** --- 2207,2215 ---- if ( file_exists( $this->cache_dir . 'data_global.' . $phpEx ) ) { + if (!sizeof($this->vars_ts)) + { + $this->load(); + } + foreach ( $this->vars_ts as $varname => $timestamp ) { |