From 59cd40235bf4746a119421609b25d7e9b7f65f83 Mon Sep 17 00:00:00 2001 From: Geo Halkiadakis Date: Mon, 15 May 2023 18:15:37 +0300 Subject: refactoring framework defaults --- core/helpers/autoload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/helpers/autoload.php') diff --git a/core/helpers/autoload.php b/core/helpers/autoload.php index c4359c6..c72c335 100644 --- a/core/helpers/autoload.php +++ b/core/helpers/autoload.php @@ -18,7 +18,7 @@ spl_autoload_register( // check all possible classPaths for class foreach(CLASSPATHS as $key => $basePath) { - $file = APP_ROOT . $basePath . $classPath .'.php'; + $file = WEB_ROOT . $basePath . $classPath .'.php'; // if class-file exist, include it if (file_exists($file)) { -- cgit v1.2.3