|
From: FlorinCB <ory...@us...> - 2009-01-24 16:42:52
|
Update of /cvsroot/mxbb/mx_phpbb/includes In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv11646/includes Modified Files: forum_hack.php Log Message: fix Index: forum_hack.php =================================================================== RCS file: /cvsroot/mxbb/mx_phpbb/includes/forum_hack.php,v retrieving revision 1.69 retrieving revision 1.70 diff -C2 -d -r1.69 -r1.70 *** forum_hack.php 26 Sep 2008 19:57:19 -0000 1.69 --- forum_hack.php 24 Jan 2009 16:42:42 -0000 1.70 *************** *** 1777,1780 **** --- 1777,1782 ---- // $code = preg_replace('#^(.?).*(include).*(page_header).*(\r\n?|\n)#m','// mxBB: Removed include page_header.php' . "\n", $code); + $code = str_replace("include($phpbb_root_path . 'includes/page_header.'.$phpEx);", "//", $code); + $code = preg_replace('#^(.?).*(include).*(page_tail).*(\r\n?|\n)#m',"// mxBB: Removed include page_tail.php" . "\n" . 'return;' . "\n", $code); |