- add php_info route for testing php settings (/info)
This commit is contained in:
parent
412d62d9aa
commit
25f3175a92
|
@ -121,4 +121,9 @@ class HomeController extends Controller
|
|||
throw new GeneralException(trans('exceptions.backend.access.pages.not_found'));
|
||||
}
|
||||
}
|
||||
|
||||
public function php_info()
|
||||
{
|
||||
dd(phpinfo());
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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', [
|
||||
|
|
Loading…
Reference in New Issue
Block a user