Файловый менеджер - Редактировать - /home/vielwcom/www3.vielw.com/app/Bitwise/Console.tar
Назад
Kernel.php 0000644 00000001473 15102522046 0006477 0 ustar 00 <?php namespace App\Console; use Illuminate\Console\Scheduling\Schedule; use Illuminate\Foundation\Console\Kernel as ConsoleKernel; class Kernel extends ConsoleKernel { /** * The Artisan commands provided by your application. * * @var array */ protected $commands = [ // ]; /** * Define the application's command schedule. * * @param \Illuminate\Console\Scheduling\Schedule $schedule * @return void */ protected function schedule(Schedule $schedule) { // $schedule->command('inspire')->hourly(); } /** * Register the commands for the application. * * @return void */ protected function commands() { $this->load(__DIR__.'/Commands'); require base_path('routes/console.php'); } } Commands/clearAll.php 0000644 00000004401 15102522046 0010531 0 ustar 00 <?php namespace App\Console\Commands; use Illuminate\Console\Command; use Illuminate\Filesystem\Filesystem; class clearAll extends Command { /** * The name and signature of the console command. * * @var string */ protected $signature = 'clear:all {--force} {--map}'; /** * The console command description. * * @var string */ protected $description = 'clear all caches (view, cache, config, log)'; private $disk; /** * Create a new command instance. * @param \Illuminate\Filesystem\Filesystem $disk * @return void */ public function __construct(Filesystem $disk) { parent::__construct(); $this->disk = $disk; } /** * Execute the console command. * * @return mixed */ public function handle() { $isForce = (!empty($this->option('force'))) ? true : false; $hasMap = (!empty($this->option('map'))) ? true : false; if (!$isForce) { $excludedCaches = cache()->getMultiple([ 'notifications.owner.properties.count', 'notifications.properties.rent.yearly.due.date.count', 'notifications.applicants.count', 'notifications.questions.count', 'users.have_cities', 'users.have_cities', 'searches.results', 'searches.canonicals', 'properties.impressions', ]); $this->call('cache:clear'); cache()->setMultiple($excludedCaches, 100000 * 60); } else { $this->call('cache:clear'); } if ($hasMap) { $path = '/media/properties/maps'; if (\Storage::exists($path)) { \Storage::deleteDirectory($path); } } $this->call('view:clear'); $this->call('config:clear'); $this->call('route:clear'); foreach ($this->disk->allFiles(storage_path('logs')) as $file) { $this->disk->delete($file); } $this->info('log files cleared!'); foreach ($this->disk->allFiles(storage_path('debugbar')) as $file) { $this->disk->delete($file); } $this->info('debugbar files cleared!'); } } Commands/error_log 0000644 00000001070 15102522046 0010215 0 ustar 00 [04-Nov-2025 01:10:06 UTC] PHP Fatal error: Uncaught Error: Class "Illuminate\Console\Command" not found in /home/vielwcom/www3.vielw.com/app/Console/Commands/clearAll.php:8 Stack trace: #0 {main} thrown in /home/vielwcom/www3.vielw.com/app/Console/Commands/clearAll.php on line 8 [04-Nov-2025 20:57:53 UTC] PHP Fatal error: Uncaught Error: Class "Illuminate\Console\Command" not found in /home/vielwcom/www3.vielw.com/app/Console/Commands/clearAll.php:8 Stack trace: #0 {main} thrown in /home/vielwcom/www3.vielw.com/app/Console/Commands/clearAll.php on line 8 error_log 0000644 00000001460 15102522046 0006457 0 ustar 00 [04-Nov-2025 01:05:07 UTC] PHP Fatal error: Uncaught Error: Class "Illuminate\Foundation\Console\Kernel" not found in /home/vielwcom/www3.vielw.com/app/Console/Kernel.php:8 Stack trace: #0 {main} thrown in /home/vielwcom/www3.vielw.com/app/Console/Kernel.php on line 8 [04-Nov-2025 01:22:29 UTC] PHP Fatal error: Uncaught Error: Class "Illuminate\Foundation\Console\Kernel" not found in /home/vielwcom/www3.vielw.com/app/Console/Kernel.php:8 Stack trace: #0 {main} thrown in /home/vielwcom/www3.vielw.com/app/Console/Kernel.php on line 8 [04-Nov-2025 17:39:49 UTC] PHP Fatal error: Uncaught Error: Class "Illuminate\Foundation\Console\Kernel" not found in /home/vielwcom/www3.vielw.com/app/Console/Kernel.php:8 Stack trace: #0 {main} thrown in /home/vielwcom/www3.vielw.com/app/Console/Kernel.php on line 8
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка