|
From: Jon O. <jon...@us...> - 2008-02-12 21:24:23
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv4890/includes Modified Files: mx_functions_core.php Log Message: minor updates... Index: mx_functions_core.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_core.php,v retrieving revision 1.77 retrieving revision 1.78 diff -C2 -d -r1.77 -r1.78 *** mx_functions_core.php 12 Feb 2008 11:27:44 -0000 1.77 --- mx_functions_core.php 12 Feb 2008 21:24:18 -0000 1.78 *************** *** 688,691 **** --- 688,698 ---- } + if ($type = 'install') + { + if (preg_match('/^(tpl2_|tpl_|_block_|_page_|data_(?!global))/', $entry)) // Cannot remove tpl cache files currently in use ;) + { + unlink($this->cache_dir . $entry); + } + } } @closedir($dir); |