🚀 مُصادَق: تحديث برمجي جديد 2026-05-03 01:11
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user