|
From: FlorinCB <ory...@us...> - 2008-08-31 00:26:26
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv8089 Modified Files: template.php Log Message: clean up Index: template.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/template.php,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -d -r1.31 -r1.32 *** template.php 30 Aug 2008 19:04:58 -0000 1.31 --- template.php 31 Aug 2008 00:26:18 -0000 1.32 *************** *** 952,963 **** { echo '<!-- template ', $this->files[$handle], ' start -->'; - } - - if ((strpos($filename,'overall_header.')) && defined('MX_PHPBB3_BLOCK')) - { - die("overall_header."); - //Do not include phpBB3 overall header and footer files. - $filename = str_replace('overall_header.', 'index.', $filename); - $filename = str_replace('overall_footer.', 'index.', $filename); } --- 952,955 ---- *************** *** 1014,1026 **** } $this->xs_startup(); ! $force_recompile = empty($this->uncompiled_code[$handle]) ? false : true; ! ! if ((strpos($this->files_cache[$handle],'overall_header.')) && defined('MX_PHPBB3_BLOCK')) ! { ! die("overall_header."); ! //Do not include phpBB3 overall header and footer files. ! $filename = str_replace('overall_header.', 'index.', $filename); ! $filename = str_replace('overall_footer.', 'index.', $filename); ! } // checking if php file exists. --- 1006,1010 ---- } $this->xs_startup(); ! $force_recompile = empty($this->uncompiled_code[$handle]) ? false : true; // checking if php file exists. |