]> _ Git - pmi.git/commitdiff
wait #7862 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 24 Nov 2025 18:11:58 +0000 (19:11 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 24 Nov 2025 18:11:58 +0000 (19:11 +0100)
app/Console/Kernel.php
resources/views/pages/category.blade.php

index 90541de10a902dfd12f6c4d690cb55f45adff16f..1e5c142ee70310bfb6699f2ab214b00bc83fc886 100644 (file)
@@ -24,10 +24,11 @@ class Kernel extends ConsoleKernel
      */
     protected function schedule(Schedule $schedule)
     {
-        $schedule->command('pmi:check')->everyMinute();
         if (config('app.env') !== 'production') {
             return;
         }
+
+        $schedule->command('pmi:check')->everyMinute();
 //        $schedule->command('backup:clean')->daily()->at('04:00');
 //        $schedule->command('backup:run')->daily()->at('05:00');
         $schedule->command('cubist:search:index PMI fr')->cron('0 4 * * *');
index 46315142ca3b96014a1e6c36cc86573db88d8749..8373dc2144221651d7b529cbf4c4f08983563966 100644 (file)
@@ -1,3 +1,11 @@
+@php
+if(!isset($filters)){
+    $filters=[];
+}
+if(!isset($products)){
+    $products=[];
+}
+@endphp
 @extends('layouts/app')
 
 @section('content')