diff --git a/index.php b/index.php
index b60c494..39311a2 100644
--- a/index.php
+++ b/index.php
@@ -17,27 +17,11 @@
//
// -none-
//
-if (!file_exists(realpath("./setup.php"))) {
+if (file_exists(realpath("./config.inc.php"))) {
header ("Location: login.php");
- exit;
+ die();
} else {
- print <<< EOF
-
-
-Welcome to OpenSMTPD Admin
-
-
-
-
-Welcome to OpenSMTPD Admin
-It seems that you are running this version of OpenSMTPD Admin for the first time.
-
-You can now run setup to make sure that all the functions are available for OpenSMTPD Admin to run.
-
-If you still encounter any problems please check the documentation and website for more information.
-
-
-
-EOF;
+ header ("Location: setup.php");
+ die();
}
?>