require('inc/config-global.php');
// Is the script installed?
-if (isInstalled()) {
- // Is this a member?
- if (IS_MEMBER()) {
- // Then redirect into login area
- redirectToUrl('modules.php?module=login');
- } else {
- // Guests will be redirected to login form
- redirectToUrl('modules.php?module=index&what=login');
- }
-} else {
+if (!isInstalled()) {
// You have to install first!
redirectToUrl('install.php');
-}
+} // END - if
-// Really all done here... ;-)
-shutdown();
+// Is this a member?
+if (IS_MEMBER()) {
+ // Then redirect into login area
+ redirectToUrl('modules.php?module=login');
+} else {
+ // Guests will be redirected to login form
+ redirectToUrl('modules.php?module=index&what=login');
+}
-//
+// [EOF]
?>