From a2db88ee389b4f82e14b4d3b3d399703f0a5f056 Mon Sep 17 00:00:00 2001 From: absurdo Date: Tue, 12 Dec 2023 21:33:06 +0100 Subject: [PATCH] Added support for load autoload from actual directory --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 1a54313..efc3c6f 100644 --- a/index.php +++ b/index.php @@ -21,7 +21,7 @@ include('libraries/Routes.php'); });*/ -if(is_file('vendor/autoload.php')) { +if(is_file(__DIR__.'/vendor/autoload.php')) { include('vendor/autoload.php');