// Some security stuff...
if (!defined('__SECURITY')) {
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php';
require($INC);
}
switch ($EXT_LOAD_MODE)
{
-case 'register': // Do stuff when installation is running (modules.php?module=admin&action=login is called)
+case 'register': // Do stuff when installation is running (modules.php?module=admin is called)
// SQL commands to run
break;
switch ($EXT_VER)
{
case '0.0.1': // SQL queries for v0.0.1
- $SQLs[] = "";
+ ADD_EXT_SQL('');
// Update notes (these will be set as task text!)
- $UPDATE_NOTES = "";
+ EXT_SET_UPDATE_NOTES('');
break;
}
break;