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

This commit is contained in:
Hamza-Ayed
2026-05-03 01:11:57 +03:00
parent 013582e0f5
commit c009587d5a

View File

@@ -14,8 +14,11 @@ final class Application
public function __construct(string $basePath)
{
// 1. Load Environment Variables (Look one level up from Application folder)
$dotenv = Dotenv::createImmutable(dirname($basePath));
// 1. Load Environment Variables (Point to the specific 'env' folder outside htdocs)
// Path: /home/intaleqapp-musadaq/env/
$envPath = dirname(dirname(dirname($basePath))) . '/env';
$dotenv = Dotenv::createImmutable($envPath);
$dotenv->load();
// 2. Set Timezone