- add php_info route for testing php settings (/info)

This commit is contained in:
Arno Kaimbacher 2020-02-24 10:43:17 +01:00
parent 412d62d9aa
commit 25f3175a92
2 changed files with 8 additions and 0 deletions

View File

@ -121,4 +121,9 @@ class HomeController extends Controller
throw new GeneralException(trans('exceptions.backend.access.pages.not_found'));
}
}
public function php_info()
{
dd(phpinfo());
}
}

View File

@ -453,6 +453,9 @@ Route::group(['namespace' => 'Frontend', 'as' => 'frontend.'], function () {
Route::get('/help', [
'as' => 'home.help', 'uses' => 'HomeController@help',
]);
Route::get('/info', [
'as' => 'home.php_info', 'uses' => 'HomeController@php_info',
]);
//=================================================Crawlers====================================================
Route::get('sitelinks', [