mirror of
https://github.com/xodivorce/xeorl.git
synced 2025-12-19 16:23:01 +05:30
v3.0.2
This commit is contained in:
BIN
htdocs/core/.DS_Store
vendored
BIN
htdocs/core/.DS_Store
vendored
Binary file not shown.
@@ -1,7 +1,9 @@
|
||||
<?php
|
||||
// Load environment variables
|
||||
// Load Composer's autoloader
|
||||
require_once __DIR__ . '/vendor/autoload.php'; // Correct path for vendor directory in core
|
||||
$dotenv = Dotenv\Dotenv::createImmutable(__DIR__ . '/../../');
|
||||
|
||||
// Initialize dotenv and load environment variables
|
||||
$dotenv = Dotenv\Dotenv::createImmutable(__DIR__ . '/../'); // Adjusted to point to htdocs/.env
|
||||
$dotenv->load();
|
||||
|
||||
// Database configuration
|
||||
|
||||
Reference in New Issue
Block a user