./inc/modules/member/what-unconfirmed.php:132: // @TODO Try to rewrite this to $content = SQL_FETCHARRAY()
./inc/modules/order.php:75: // @TODO Unused: 2,4
./inc/monthly/monthly_bonus.php:70: // @TODO Rewrite this to a filter
-./inc/mysql-manager.php:1000: // @TODO Commented out redirectToUrl('admin.php');
-./inc/mysql-manager.php:1600: // @TODO Try to rewrite this to $content = SQL_FETCHARRAY()
-./inc/mysql-manager.php:1808: // @TODO Rewrite this to $content = SQL_FETCHARRAY()
-./inc/mysql-manager.php:2124: // @TODO This can be somehow rewritten
+./inc/mysql-manager.php:1599: // @TODO Try to rewrite this to $content = SQL_FETCHARRAY()
+./inc/mysql-manager.php:1807: // @TODO Rewrite this to $content = SQL_FETCHARRAY()
+./inc/mysql-manager.php:2123: // @TODO This can be somehow rewritten
./inc/mysql-manager.php:220: // @TODO Nothing helped???
./inc/mysql-manager.php:255: // @TODO Rewrite this to a filter
./inc/mysql-manager.php:576: // @TODO Try to rewrite this to one or more functions
./inc/mysql-manager.php:605: // @TODO Try to rewrite this to one or more functions
./inc/mysql-manager.php:93:// @TODO Can we cache this?
-./inc/mysql-manager.php:999: // @TODO Why does this lead into an endless loop but we still need it???
./inc/reset/reset_birthday.php:91: // @TODO 4 is hard-coded here, should we move it out in config?
./inc/wrapper-functions.php:127:// @TODO Implement $compress
./inc/wrapper-functions.php:134:// @TODO Implement $decompress
changeDataInFile(getConfig('CACHE_PATH') . 'config-local.php', 'ADMIN-SETUP', "setConfigEntry('ADMIN_REGISTERED', '", "');", 'Y', 0);
// Load URL for login
- redirectToUrl('modules.php?module=admin');
+ redirectToUrl('admin.php');
} // END - if
break;
} // END - switch
unsetPostRequestElement(('salt_length'));
// Redirect to logout link
- redirectToUrl('modules.php?module=admin&logout=1');
+ redirectToUrl('modules.php?module=admin&logout=1');
} // END - if
// Save settings
} // END - if
// A simple redirect...
-redirectToUrl('modules.php?module=admin');
+redirectToUrl('admin.php');
// [EOF]
?>
// Some security stuff...
if (!defined('__SECURITY')) {
die();
-} elseif (!isExtensionActive('sql_patches')) {
- // The extension 'sql_patches' *MUST* be activated or you have lot's of problems!
- redirectToUrl('modules.php?module=admin&ext_missing=sql_patches');
-}
+} // END - if
// Generate a tableset for the menu title and content
loadTemplate('guest_header');
} elseif ((!isExtensionInstalled('sql_patches')) && ($mode != 'admin')) {
// No sql_patches installed, but maybe we need to register an admin?
if (isAdminRegistered()) {
- // Redirect
- // @TODO Why does this lead into an endless loop but we still need it???
- // @TODO Commented out redirectToUrl('admin.php');
+ // Redirect to admin area
+ redirectToUrl('admin.php');
} // END - if
}