diff --git a/public/installer/EnvConfig.php b/public/installer/EnvConfig.php index bf827f70c..064dfe980 100755 --- a/public/installer/EnvConfig.php +++ b/public/installer/EnvConfig.php @@ -14,9 +14,6 @@ $data = array(); if (empty($_POST['app_url'])) $errors['app_url'] = 'App Url is required.'; - - if (empty($_POST['app_admin_url'])) - $errors['app_admin'] = 'The admin suffix is required.'; if (empty($_POST['app_currency'])) $errors['app_currency'] = 'The application currency is required.'; @@ -41,9 +38,6 @@ $data = array(); if (preg_match('/\s/', $_POST['app_url'])) $errors['app_url_space'] = 'There should be no space in App URL '; - - if (preg_match('/\s/', $_POST['app_admin_url'])) - $errors['app_admin_space'] = 'There should be no space in the admin suffix.'; if (preg_match('/\s/', $_POST['app_name'])) $errors['app_name_space'] = 'There should be no space in App Name.'; @@ -116,7 +110,6 @@ $data = array(); $keyValueData['DB_PASSWORD'] = $_POST["user_password"]; $keyValueData['APP_NAME'] = $_POST["app_name"]; $keyValueData['APP_URL'] = $_POST["app_url"]; - $keyValueData['APP_ADMIN_URL'] = $_POST["app_admin_url"]; $keyValueData['APP_CURRENCY'] = $_POST["app_currency"]; $keyValueData['APP_LOCALE'] = $_POST["app_locale"]; $keyValueData['APP_TIMEZONE'] = $_POST["app_timezone"]; @@ -156,4 +149,4 @@ $data = array(); } // return all our data to an AJAX call - echo json_encode($data); \ No newline at end of file + echo json_encode($data);