Removed leading slash for url helper

This commit is contained in:
snipe 2016-12-15 16:42:14 -08:00
parent aab0933856
commit f182a7db2a

View file

@ -59,9 +59,9 @@ class SettingsController extends Controller
}
$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;
$exposed_env = @file_get_contents($protocol . $host.'/.env');