mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -08:00
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:
commit
f54d83ed59
|
@ -84,9 +84,8 @@ class SettingsController extends Controller
|
||||||
}
|
}
|
||||||
$pageURL = $protocol.$host.$_SERVER['REQUEST_URI'];
|
$pageURL = $protocol.$host.$_SERVER['REQUEST_URI'];
|
||||||
|
|
||||||
$start_settings['url_valid'] = (url('/').'/setup' === $pageURL);
|
$start_settings['url_config'] = url('/').'/setup';
|
||||||
|
$start_settings['url_valid'] = ($start_settings['url_config'] === $pageURL);
|
||||||
$start_settings['url_config'] = url('/');
|
|
||||||
$start_settings['real_url'] = $pageURL;
|
$start_settings['real_url'] = $pageURL;
|
||||||
$start_settings['php_version_min'] = true;
|
$start_settings['php_version_min'] = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue