|
From: Paul S. O. <ps...@us...> - 2002-01-03 16:04:21
|
Update of /cvsroot/phpbb/phpBB2/includes In directory usw-pr-cvs1:/tmp/cvs-serv2584/includes Modified Files: functions.php Log Message: Removed windows carriage returns and newline at end of file ... Index: functions.php =================================================================== RCS file: /cvsroot/phpbb/phpBB2/includes/functions.php,v retrieving revision 1.102 retrieving revision 1.103 diff -C2 -r1.102 -r1.103 *** functions.php 2002/01/03 15:12:10 1.102 --- functions.php 2002/01/03 16:04:18 1.103 *************** *** 1,1205 **** ! <?php ! /*************************************************************************** ! * functions.php ! * ------------------- ! * begin : Saturday, Feb 13, 2001 ! * copyright : (C) 2001 The phpBB Group ! * email : su...@ph... ! * ! * $Id$ ! * [...2382 lines suppressed...] ! // ! // this does exactly what preg_quote() does in PHP 4-ish: ! // http://www.php.net/manual/en/function.preg-quote.php ! // ! // This function is here because the 2nd paramter to preg_quote was added in some ! // version of php 4.0.x.. So we use this in order to maintain compatibility with ! // earlier versions of PHP. ! // ! // If you just need the 1-parameter preg_quote call, then don't bother using this. ! // ! function phpbb_preg_quote($str, $delimiter) ! { ! $text = preg_quote($str); ! $text = str_replace($delimiter, "\\" . $delimiter, $text); ! ! return $text; ! } ! ! ?> \ No newline at end of file |