mirror of
https://github.com/e107inc/e107.git
synced 2025-08-10 16:46:50 +02:00
Code optimization for speed and reduced memory usage.
This commit is contained in:
@@ -1130,7 +1130,7 @@ $SYSTEM_DIRECTORY = "e107_system/";</pre>
|
||||
break;
|
||||
|
||||
case "MESSAGE":
|
||||
if(strstr(e_SELF, "forum_post.php")) //FIXME Shouldn't be here.
|
||||
if(strpos(e_SELF, "forum_post.php") !== false) //FIXME Shouldn't be here.
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user