mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 00:54:49 +02:00
Code optimization for speed and reduced memory usage.
This commit is contained in:
@@ -94,7 +94,7 @@ class e_date
|
||||
return $marray;
|
||||
}
|
||||
|
||||
if(substr($type,0,3) == 'day')
|
||||
if(strpos($type, 'day') === 0)
|
||||
{
|
||||
$days = array();
|
||||
for ($i=2; $i < 9; $i++)
|
||||
|
Reference in New Issue
Block a user