summaryrefslogtreecommitdiff
path: root/core/helpers
diff options
context:
space:
mode:
authorGeo Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-05-15 18:15:37 +0300
committerGeo Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-05-15 18:15:37 +0300
commit59cd40235bf4746a119421609b25d7e9b7f65f83 (patch)
tree35a4929d59ed87b97219ea992e4cbcdc994a78d5 /core/helpers
parent0d983359abb511f75aa5f0b2b498b97728eb25a3 (diff)
downloadgyraf1gov-59cd40235bf4746a119421609b25d7e9b7f65f83.tar.gz
gyraf1gov-59cd40235bf4746a119421609b25d7e9b7f65f83.tar.bz2
gyraf1gov-59cd40235bf4746a119421609b25d7e9b7f65f83.zip
refactoring framework defaults
Diffstat (limited to 'core/helpers')
-rw-r--r--core/helpers/autoload.php2
1 files changed, 1 insertions, 1 deletions
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)) {