Commit 2e290d69b883fa00da4548408f5df91418c77f98

Authored by Андрей Ларионов
1 parent 07a27506bc
Exists in master

Роуты

Showing 2 changed files with 5 additions and 14 deletions Side-by-side Diff

1   -<pre><?
2   - print_r(phpinfo());
3   -?></pre>
4 1 \ No newline at end of file
  2 +<?
  3 +echo "<pre>";
  4 +print_r(get_loaded_extensions());
  5 +echo "<pre/>";
  6 +?>
5 7 \ No newline at end of file
... ... @@ -365,14 +365,3 @@ Route::get(&#39;workers/profile/{worker}&#39;, [WorkerController::class, &#39;profile&#39;])-&gt;na
365 365  
366 366 //Страница вакансии
367 367 Route::get('employer/ad/{ad_employer}', [AdEmployerController::class, 'ad_employer'])->name('ad-employer');
368   -
369   -Route::get('clear/', function() {
370   - Artisan::call('config:cache');
371   - Artisan::call('cache:clear');
372   - Artisan::call('config:clear');
373   - Artisan::call('view:clear');
374   - Artisan::call('route:clear');
375   - exec('rm -f ' . storage_path('logs/.log'));
376   - exec('rm -f ' . base_path('.log'));
377   - return "Cache is cleared";
378   -})->name('clear.cache');