🚀 مُصادَق: تحديث برمجي جديد 2026-05-03 01:11
This commit is contained in:
@@ -14,8 +14,11 @@ final class Application
|
|||||||
|
|
||||||
public function __construct(string $basePath)
|
public function __construct(string $basePath)
|
||||||
{
|
{
|
||||||
// 1. Load Environment Variables (Look one level up from Application folder)
|
// 1. Load Environment Variables (Point to the specific 'env' folder outside htdocs)
|
||||||
$dotenv = Dotenv::createImmutable(dirname($basePath));
|
// Path: /home/intaleqapp-musadaq/env/
|
||||||
|
$envPath = dirname(dirname(dirname($basePath))) . '/env';
|
||||||
|
|
||||||
|
$dotenv = Dotenv::createImmutable($envPath);
|
||||||
$dotenv->load();
|
$dotenv->load();
|
||||||
|
|
||||||
// 2. Set Timezone
|
// 2. Set Timezone
|
||||||
|
|||||||
Reference in New Issue
Block a user