mirror of
https://github.com/e107inc/e107.git
synced 2025-08-21 13:52:35 +02:00
Code optimization for speed and reduced memory usage.
This commit is contained in:
@@ -141,7 +141,7 @@ class user_dashboard // plugin-folder + '_url'
|
||||
if($entry)
|
||||
{
|
||||
list($url, $total, $unique) = explode("|", $entry);
|
||||
if(strstr($url, "/"))
|
||||
if(strpos($url, "/") !== false)
|
||||
{
|
||||
$urlname = preg_replace("/\.php|\?.*/", "", substr($url, (strrpos($url, "/")+1)));
|
||||
}
|
||||
|
Reference in New Issue
Block a user