************************************************************************/
// Some security stuff...
-if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])))
-{
+if (!defined('__SECURITY')) {
$INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
require($INC);
}
switch ($EXT_LOAD_MODE)
{
-case "register": // Do stuff when installtion is running (modules.php?module=admin&action=login is called)
+case "register": // Do stuff when installation is running (modules.php?module=admin&action=login is called)
// SQL commands to run
$SQLs[] = "";
break;
// Depends on 'country'!
$EXT_UPDATE_DEPENDS = "country";
+ break;
case "0.1.3": // SQL queries for v0.1.3
// Update notes (these will be set as task text!)
// Language file prefix
$EXT_LANG_PREFIX = "mydata";
-// Extension is always active?
-$EXT_ALWAYS_ACTIVE = "N";
-
//
?>