Merge pull request #12612 from manuteleco/add_path_in_preflight_url_message

Fixed #11800: Include path in the expected URL during Pre-Flight
This commit is contained in:
snipe 2023-03-06 09:36:15 -08:00 committed by GitHub
commit f54d83ed59
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -84,9 +84,8 @@ class SettingsController extends Controller
}
$pageURL = $protocol.$host.$_SERVER['REQUEST_URI'];
$start_settings['url_valid'] = (url('/').'/setup' === $pageURL);
$start_settings['url_config'] = url('/');
$start_settings['url_config'] = url('/').'/setup';
$start_settings['url_valid'] = ($start_settings['url_config'] === $pageURL);
$start_settings['real_url'] = $pageURL;
$start_settings['php_version_min'] = true;