From: Aleksey Filippov Date: Tue, 24 Feb 2026 15:36:32 +0000 (+0300) Subject: fix(ERP-236): fix basePath — use @app instead of @app/web for uploads X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=5cb99c75edf738fe3737434237d1279fd7c165f5;p=erp24_rep%2Fyii-erp24%2F.git fix(ERP-236): fix basePath — use @app instead of @app/web for uploads Files are stored in erp24/uploads/, not erp24/web/uploads/. Co-Authored-By: Claude Opus 4.6 --- diff --git a/erp24/commands/ConvertVideoController.php b/erp24/commands/ConvertVideoController.php index dbf31688..4763489c 100644 --- a/erp24/commands/ConvertVideoController.php +++ b/erp24/commands/ConvertVideoController.php @@ -140,7 +140,7 @@ class ConvertVideoController extends Controller $converted = 0; $skipped = 0; $errors = 0; - $basePath = Yii::getAlias('@app') . '/web'; + $basePath = Yii::getAlias('@app'); foreach ($files as $i => $file) { $num = $i + 1;