1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-03 23:37:39 +02:00

Performance hacks in template.inc - let me know if stuff breaks.

git-svn-id: file:///svn/phpbb/trunk@96 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
natec
2001-03-10 03:42:46 +00:00
parent 66bc8a309b
commit afae95b90f
3 changed files with 414 additions and 17 deletions

View File

@@ -120,8 +120,6 @@ function bbencode_first_pass($text)
$uid = md5(uniqid(rand()));
$uid = substr($uid, 0, BBCODE_UID_LEN);
//echo "UID LENGTH: " . strlen($uid) . "<br>";
// pad it with a space so we can distinguish between FALSE and matching the 1st char (index 0).
// This is important; bbencode_quote(), bbencode_list(), and bbencode_code() all depend on it.
$text = " " . $text;