mirror of
https://github.com/e107inc/e107.git
synced 2025-08-13 01:54:12 +02:00
Code optimization for speed and reduced memory usage.
This commit is contained in:
@@ -341,7 +341,7 @@ if (!function_exists("parse_admin"))
|
||||
|
||||
$adtmp = explode("\n", $ADMINLAYOUT);
|
||||
|
||||
for ($a = 0; $a < count($adtmp); $a++)
|
||||
for ($a = 0, $aMax = count($adtmp); $a < $aMax; $a++)
|
||||
{
|
||||
if (preg_match("/{.+?}/", $adtmp[$a]))
|
||||
{
|
||||
|
Reference in New Issue
Block a user