$done = changeDataInFile(constant('PATH')."inc/config.php", "ADMIN-SETUP", "define('admin_registered', ", ");", "true", 0);
if ($done === true) {
// Registering is done
- LOAD_URL("modules.php?module=admin&action=login®ister=done");
+ LOAD_URL("modules.php?module=admin&register=done");
} else {
$ret = getMessage('ADMIN_CANNOT_COMPLETE');
}
changeDataInFile(constant('PATH')."inc/config.php", "ADMIN-SETUP", "define('admin_registered', ", ");", "true", 0);
// Load URL for login
- LOAD_URL("modules.php?module=admin&action=login");
+ LOAD_URL("modules.php?module=admin");
} // END - if
break;
}
// At leat one administrator account was created
if ((isSessionVariableSet('admin_login')) && (isSessionVariableSet('admin_md5')) && (isSessionVariableSet('admin_last')) && (isSessionVariableSet('admin_to'))) {
// Timeout for last login, we have to logout first!
- LOAD_URL("modules.php?module=admin&action=login&logout=1");
+ LOAD_URL("modules.php?module=admin&logout=1");
} // END - if
if (REQUEST_ISSET_GET(('register'))) {