Changeset 699
- Timestamp:
- 08/22/05 16:17:37 (8 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/wifidog-auth/wifidog/include/schema_validate.php
r695 r699 35 35 global $db; 36 36 37 check_users_not_empty();37 //check_users_not_empty(); 38 38 $db->ExecSqlUniqueRes("SELECT * FROM schema_info WHERE tag='schema_version'", $row, false); 39 39 if (empty ($row)) … … 87 87 if ($row == null) 88 88 { 89 $exploded_path = explode("/", $_SERVER['SCRIPT_NAME']); # Split directories in token90 array_pop($exploded_path); # Remove install.php from the list91 $system_path = implode("/", $exploded_path); # Build the system_path for the auth-server92 print "<META HTTP-EQUIV=Refresh CONTENT=\"0; URL=$system_path/install.php\">";93 exit();94 89 echo "<html><head><h1>"; 95 90 echo _("No user matches the default account origin, a new user admin/admin will be created. Change the password as soon as possible !"); … … 576 571 //$db->ExecSqlUpdate("BEGIN;\n$sql\nROLLBACK;\n", true); 577 572 echo "</html></head>"; 578 exit ();573 //exit (); 579 574 } 580 575 }
