mirror of
https://github.com/e107inc/e107.git
synced 2025-08-31 02:00:14 +02:00
Code optimization for speed and reduced memory usage.
This commit is contained in:
@@ -71,7 +71,7 @@ if(false === $cached)
|
||||
}
|
||||
|
||||
$req_year = $cur_year;
|
||||
if(e_PAGE == 'news.php' && strstr(e_QUERY, "month"))
|
||||
if(e_PAGE == 'news.php' && strpos(e_QUERY, "month") !== false)
|
||||
{
|
||||
$tmp = explode('.', e_QUERY);
|
||||
$item = $tmp[1];
|
||||
|
Reference in New Issue
Block a user