🚀 مُصادَق: تحديث برمجي جديد 2026-05-03 02:51

This commit is contained in:
Hamza-Ayed
2026-05-03 02:51:50 +03:00
parent 7b86fa717d
commit 392f6dbd9b
3 changed files with 65 additions and 7 deletions

View File

@@ -12,7 +12,8 @@ final class FileStorageService
public function __construct()
{
$this->storagePath = $_ENV['STORAGE_PATH'] ?? dirname(__DIR__, 2) . '/storage';
// Use dynamic path to avoid issues if Mac .env is deployed to Linux server
$this->storagePath = dirname(__DIR__, 2) . '/storage';
}
public function store(array $file, string $tenantId, string $companyId): string