diff --git a/public/index__.php b/public/index__.php index 68b6133..576ed25 100644 --- a/public/index__.php +++ b/public/index__.php @@ -1,3 +1,5 @@ -
- print_r(phpinfo()); -?>\ No newline at end of file + +echo "
"; +print_r(get_loaded_extensions()); +echo ""; +?> \ No newline at end of file diff --git a/routes/web.php b/routes/web.php index 10148a1..fa4a172 100644 --- a/routes/web.php +++ b/routes/web.php @@ -365,14 +365,3 @@ Route::get('workers/profile/{worker}', [WorkerController::class, 'profile'])->na //Страница вакансии Route::get('employer/ad/{ad_employer}', [AdEmployerController::class, 'ad_employer'])->name('ad-employer'); - -Route::get('clear/', function() { - Artisan::call('config:cache'); - Artisan::call('cache:clear'); - Artisan::call('config:clear'); - Artisan::call('view:clear'); - Artisan::call('route:clear'); - exec('rm -f ' . storage_path('logs/.log')); - exec('rm -f ' . base_path('.log')); - return "Cache is cleared"; -})->name('clear.cache');