]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commit
fix(ERP-246): replace hardcoded OUT_DIR with relative path in UploadService origin/feature_filippov_ERP-246_fix_api1_site_view
authorAleksey Filippov <Aleksey.Filippov@erp-flowers.ru>
Sat, 28 Feb 2026 12:02:39 +0000 (15:02 +0300)
committerAleksey Filippov <Aleksey.Filippov@erp-flowers.ru>
Sat, 28 Feb 2026 12:02:39 +0000 (15:02 +0300)
commita657eefd1fe1bcfaa8ef7cc0e2f6a1802cbdd304
treece08b96f858e07d99f36fffb6fb751f207f7d3af
parent2dd428378e8e749688a20c0180dfe387f2f872c1
fix(ERP-246): replace hardcoded OUT_DIR with relative path in UploadService

Hardcoded path /var/www/erp24/api2/json caused Permission denied errors
on production when log files were owned by non-www-data users.
Using __DIR__ . '/../api2/json' makes the path deployment-agnostic.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
erp24/services/UploadService.php