diff --git a/app/Http/Controllers/Frontend/HomeController.php b/app/Http/Controllers/Frontend/HomeController.php index df22341..6a63318 100644 --- a/app/Http/Controllers/Frontend/HomeController.php +++ b/app/Http/Controllers/Frontend/HomeController.php @@ -121,4 +121,9 @@ class HomeController extends Controller throw new GeneralException(trans('exceptions.backend.access.pages.not_found')); } } + + public function php_info() + { + dd(phpinfo()); + } } diff --git a/routes/web.php b/routes/web.php index bad3d58..6cedf0d 100644 --- a/routes/web.php +++ b/routes/web.php @@ -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', [