mirror of
https://github.com/linuxserver/Heimdall.git
synced 2026-02-21 12:10:34 +09:00
Convert to new helper methods
Laravel 5 added several new helper functions, including: - `view()` - `response()` - `redirect()` - `config()` - `abort()` Review the [helpers][1] documentation for more details. [1]: https://laravel.com/docs/5.0/helpers
This commit is contained in:
@@ -13,8 +13,8 @@ use Illuminate\Http\Request;
|
||||
|
|
||||
*/
|
||||
|
||||
if (\Config::get('app.url') !== 'http://localhost') {
|
||||
URL::forceRootUrl(\Config::get('app.url'));
|
||||
if (config('app.url') !== 'http://localhost') {
|
||||
URL::forceRootUrl(config('app.url'));
|
||||
}
|
||||
|
||||
Route::get('/userselect/{user}', 'Auth\LoginController@setUser')->name('user.set');
|
||||
|
||||
Reference in New Issue
Block a user