mirror of
https://github.com/e107inc/e107.git
synced 2025-08-26 15:54:43 +02:00
Code optimization for speed and reduced memory usage.
This commit is contained in:
@@ -17,7 +17,7 @@ class siteinfo_shortcodes // must match the folder name of the plugin.
|
||||
}
|
||||
else
|
||||
{
|
||||
$path = (strstr(SITEBUTTON, 'http:') ? SITEBUTTON : e_IMAGE.SITEBUTTON);
|
||||
$path = (strpos(SITEBUTTON, 'http:') !== false ? SITEBUTTON : e_IMAGE.SITEBUTTON);
|
||||
}
|
||||
|
||||
if($parm['type'] == 'email' || $parm == 'email') // (retain {} constants )
|
||||
|
Reference in New Issue
Block a user