mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 06:04:08 -08:00
Removed leading slash for url helper
This commit is contained in:
parent
aab0933856
commit
f182a7db2a
|
@ -59,9 +59,9 @@ 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_valid'] = (url('/').'/setup' === $pageURL);
|
||||||
|
|
||||||
$start_settings['url_config'] = \url('/');
|
$start_settings['url_config'] = url('/');
|
||||||
$start_settings['real_url'] = $pageURL;
|
$start_settings['real_url'] = $pageURL;
|
||||||
|
|
||||||
$exposed_env = @file_get_contents($protocol . $host.'/.env');
|
$exposed_env = @file_get_contents($protocol . $host.'/.env');
|
||||||
|
|
Loading…
Reference in a new issue