1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-10 08:34:09 +02:00

Code optimization for speed and reduced memory usage.

This commit is contained in:
Cameron
2020-12-20 11:50:10 -08:00
parent 6b5cc07929
commit 601df26d51
91 changed files with 522 additions and 482 deletions

View File

@@ -616,7 +616,7 @@ if(!empty($_GET['iframe']))
foreach ($tabs as $table_name)
{
$installed = 'lan_'.strtolower($languageSelected)."_".$table_name;
if (stristr($languageSelected, $installed) === FALSE)
if (stripos($languageSelected, $installed) === false)
{
$selected = ($sql->isTable($table_name,$languageSelected)) ? " checked='checked'" : "";
@@ -1524,7 +1524,7 @@ class lanDeveloper
asort($_SESSION['languageTools_lanFileList']);
foreach($_SESSION['languageTools_lanFileList'] as $val)
{
if(strstr($val,e_SYSTEM))
if(strpos($val, e_SYSTEM) !== false)
{
continue;
}