for ($i = 0;$i < $panelnumber;$i++) {
$found = false;
$x = $i - $n;
$explode = explode($Context->Configuration['EXTENSIONS_PATH'],$panelarray[$i]);
$search = 'include($Configuration[\'EXTENSIONS_PATH\']."'.$explode[1].'");'."\r\n";
foreach($enabledextensions as $anext) {
if(strstr($anext,$explode[1])) {
$found = true;
}
}
if ($found) {
$neworder .= $x."=".$panelarray[$i]."\r\n";
} else {
$n++;
}
} It looks like you're new here. If you want to get involved, click one of these buttons!