Hopefully fixes tons of PEBKAC where users have the wrong app.url

This commit is contained in:
snipe
2016-12-14 08:20:05 -08:00
parent 8e5977ad84
commit 863e200430
39 changed files with 75 additions and 75 deletions
+2 -2
View File
@@ -59,9 +59,9 @@ class SettingsController extends Controller
}
$pageURL = $protocol . $host . $_SERVER['REQUEST_URI'];
$start_settings['url_valid'] = (config('app.url').'/setup' === $pageURL);
$start_settings['url_valid'] = (\URL::to('/').'/setup' === $pageURL);
$start_settings['url_config'] = config('app.url');
$start_settings['url_config'] = \URL::to('/');
$start_settings['real_url'] = $pageURL;
$exposed_env = @file_get_contents($protocol . $host.'/.env');