Update: 2026-06-24 16:08:47

This commit is contained in:
Hamza-Ayed
2026-06-24 16:08:47 +03:00
parent 4894d566a0
commit 89dca66892
2 changed files with 17 additions and 7 deletions

View File

@@ -51,6 +51,9 @@ if ($_SERVER['REQUEST_METHOD'] === 'OPTIONS') {
// 2. Autoload
$vendorPath = realpath(__DIR__ . '/../../vendor/autoload.php');
if (!$vendorPath) {
$vendorPath = realpath(__DIR__ . '/../vendor/autoload.php');
}
if ($vendorPath) require_once $vendorPath;
// 3. Helpers & Env