mirror of
https://github.com/e107inc/e107.git
synced 2025-08-17 20:01:47 +02:00
Code optimization for speed and reduced memory usage.
This commit is contained in:
@@ -45,7 +45,7 @@ $pref['blogcal_ws'] = "monday";
|
||||
$cur_year = date("Y");
|
||||
$cur_month = date("n");
|
||||
$cur_day = date("j");
|
||||
if (strstr(e_QUERY, "year"))
|
||||
if (strpos(e_QUERY, "year") !== false)
|
||||
{
|
||||
$tmp = explode(".", e_QUERY);
|
||||
if (is_numeric($tmp[1]))
|
||||
|
Reference in New Issue
Block a user