From 2e290d69b883fa00da4548408f5df91418c77f98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9=20=20=D0=9B=D0=B0=D1=80?= =?UTF-8?q?=D0=B8=D0=BE=D0=BD=D0=BE=D0=B2?= Date: Wed, 1 Nov 2023 11:41:44 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A0=D0=BE=D1=83=D1=82=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/index__.php | 8 +++++--- routes/web.php | 11 ----------- 2 files changed, 5 insertions(+), 14 deletions(-) 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 @@ -
\ No newline at end of file +"; +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');
-- 
1.7.10.4