]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commit
fix(ERP-251): replace file_put_contents with Yii logging in DataBuhController
authorAleksey Filippov <Aleksey.Filippov@erp-flowers.ru>
Mon, 2 Mar 2026 15:14:27 +0000 (18:14 +0300)
committerAleksey Filippov <Aleksey.Filippov@erp-flowers.ru>
Mon, 2 Mar 2026 15:14:27 +0000 (18:14 +0300)
commit1186aec64d43d900703510bb468b275629a3bb9c
tree5abb3c544e5ed89da19dec6a7104721e4803c0e2
parent1ca403a5f5e27a52d783a83e9ee9406b688490f6
fix(ERP-251): replace file_put_contents with Yii logging in DataBuhController

Hardcoded path /var/www/erp24/api2/json_buh does not exist on deploy
server (/var/www/erp24_deploy/), causing file_put_contents errors.
Replace debug file dumps with Yii::info/Yii::error under 'buh.upload'
category. Request data is already persisted via ApiCronBuh model.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
erp24/api2/controllers/DataBuhController.php