Index: /trunk/wifidog-auth/wifidog/include/schema_validate.php
===================================================================
--- /trunk/wifidog-auth/wifidog/include/schema_validate.php	(revision 687)
+++ /trunk/wifidog-auth/wifidog/include/schema_validate.php	(revision 691)
@@ -45,8 +45,8 @@
 		if ($row['value'] < REQUIRED_SCHEMA_VERSION)
 		{
-			if (!empty ($_REQUEST['schema_update_confirm']) && $_REQUEST['schema_update_confirm'] == 'on')
-			{
+//			if (!empty ($_REQUEST['schema_update_confirm']) && $_REQUEST['schema_update_confirm'] == 'on')
+//			{
 				update_schema();
-			}
+/*			}
 			else
 			{
@@ -59,5 +59,5 @@
 				echo "</html></head>";
 				exit ();
-			}
+			} */
 		}
 		else
@@ -87,4 +87,9 @@
 		if ($row == null)
 		{
+            $exploded_path = explode("/", $_SERVER['SCRIPT_NAME']);     # Split directories in token
+            array_pop($exploded_path);                                  # Remove install.php from the list
+            $system_path = implode("/", $exploded_path);                # Build the system_path for the auth-server
+            print "<META HTTP-EQUIV=Refresh CONTENT=\"0; URL=$system_path/install.php\">";
+            exit();
 			echo "<html><head><h1>";
 			echo _("No user matches the default account origin, a new user admin/admin will be created. Change the password as soon as possible !");
