$SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_config ADD top10_max tinyint(4) not null default '10'";
// Load CSS file?
- $EXT_CSS = 'Y';
+ $EXT_CSS = "Y";
break;
case "remove": // Do stuff when removing extension
break;
default: // Do stuff when extension is loaded
- $DUMMY = LOAD_CONFIG("0");
- $_CONFIG['top10_max'] = $DUMMY['top10_max'];
- unset($DUMMY);
+ $dummy = LOAD_CONFIG();
+ $_CONFIG = array_merge($_CONFIG, $dummy);
+ unset($dummy);
break;
}
$EXT_LANG_PREFIX = "top10";
// Extension is always active?
-$EXT_ALWAYS_ACTIVE = 'N';
+$EXT_ALWAYS_ACTIVE = "N";
//
?>