From cff013c5e5c380ef578f065e4b01078a7a67cc50 Mon Sep 17 00:00:00 2001 From: Cameron Date: Sat, 20 Apr 2013 12:11:24 -0700 Subject: [PATCH] Thanks to iveinsomnia. Closes #165 --- install_.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install_.php b/install_.php index 8b75d5527..acfb13103 100644 --- a/install_.php +++ b/install_.php @@ -386,6 +386,8 @@ class e_install // $page_info = nl2br(LANINS_023); $page_info = "
Please fill in the form below with your MySQL details. If you do not know this information, please contact your hosting provider. You may hover over each field for additional information.
"; $e_forms->start_form("versions", $_SERVER['PHP_SELF'].($_SERVER['QUERY_STRING'] == "debug" ? "?debug" : "")); + $isrequired = (($_SERVER['SERVER_ADDR'] == "127.0.0.1") || ($_SERVER['SERVER_ADDR'] == "localhost")) ? "" : "required='required'"; // + regex for 198.168.x.x + $output = "
@@ -408,7 +410,7 @@ class e_install
- + ".LANINS_032."