|
From: Markus P. <mar...@us...> - 2005-03-20 05:23:55
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29673 Modified Files: template.php Log Message: Fixed filename reporting when template not found in template.php. Index: template.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/template.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** template.php 9 Jan 2005 21:55:44 -0000 1.8 --- template.php 20 Mar 2005 05:23:47 -0000 1.9 *************** *** 273,277 **** if ( substr( $filename, 0, 1 ) != '/' ) { ! $filename = phpbb_realpath( $this->root . '/' . $filename ); } } --- 273,277 ---- if ( substr( $filename, 0, 1 ) != '/' ) { ! $filename = ($rp_filename = phpbb_realpath($this->root . '/' . $filename)) ? $rp_filename : $filename; } } |