]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
Изменение логики работы задачи
authorfomichev <vladimir.fomichev@erp-flowers.ru>
Wed, 2 Jul 2025 11:36:25 +0000 (14:36 +0300)
committerfomichev <vladimir.fomichev@erp-flowers.ru>
Wed, 2 Jul 2025 11:36:25 +0000 (14:36 +0300)
erp24/config/console.php
erp24/config/web.php
erp24/controllers/CategoryPlanController.php

index 660baa1df4df5fb4ea1c7e14af4f4deab5280a3c..7bedb5f530fd29a0e03f12fc975e54115038b075 100755 (executable)
@@ -55,7 +55,6 @@ $config = [
         ],
         'cache' => [
             'class' => 'yii\caching\FileCache',
-            'cachePath' => '@yii_app/runtime/cache',
         ],
         'log' => [
             'targets' => [
index 6e9ef8642995d3b0f667adb58d517d622033d54c..a0d8fb4548473cb3099bcd8b8afdf510d9564013 100644 (file)
@@ -55,7 +55,6 @@ $config = [
         ],
         'cache' => [
             'class' => 'yii\caching\FileCache',
-            'cachePath' => '@yii_app/runtime/cache',
         ],
         'user' => [
             'identityClass' => \yii_app\records\Admin::class, // 'app\models\User',
index 3fed6dbc70822bf1276a8a1db8e15ed4f750b419..65492e808d7d5c64772ffa9b8e37f14e7fa97131 100644 (file)
@@ -645,7 +645,7 @@ class CategoryPlanController extends Controller {
                 return $this->asJson(['status' => 'not_found']);
             }
         }
-        //Yii::$app->cache->delete('apRecalculateTask');
+        Yii::$app->cache->delete('apRecalculateTask');
         return $this->asJson([
             'status'   => $task['status'],
             'progress' => $task['progress'] ?? 0,