From 6ae8c05a20a0ec1c92031d541c205416f83fd207 Mon Sep 17 00:00:00 2001 From: fomichev Date: Wed, 2 Jul 2025 14:36:25 +0300 Subject: [PATCH] =?utf8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD=D0=B8?= =?utf8?q?=D0=B5=20=D0=BB=D0=BE=D0=B3=D0=B8=D0=BA=D0=B8=20=D1=80=D0=B0?= =?utf8?q?=D0=B1=D0=BE=D1=82=D1=8B=20=D0=B7=D0=B0=D0=B4=D0=B0=D1=87=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/config/console.php | 1 - erp24/config/web.php | 1 - erp24/controllers/CategoryPlanController.php | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/erp24/config/console.php b/erp24/config/console.php index 660baa1d..7bedb5f5 100755 --- a/erp24/config/console.php +++ b/erp24/config/console.php @@ -55,7 +55,6 @@ $config = [ ], 'cache' => [ 'class' => 'yii\caching\FileCache', - 'cachePath' => '@yii_app/runtime/cache', ], 'log' => [ 'targets' => [ diff --git a/erp24/config/web.php b/erp24/config/web.php index 6e9ef864..a0d8fb45 100644 --- a/erp24/config/web.php +++ b/erp24/config/web.php @@ -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', diff --git a/erp24/controllers/CategoryPlanController.php b/erp24/controllers/CategoryPlanController.php index 3fed6dbc..65492e80 100644 --- a/erp24/controllers/CategoryPlanController.php +++ b/erp24/controllers/CategoryPlanController.php @@ -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, -- 2.39.5