diff --git a/composer.json b/composer.json
index a229da3..744ab71 100644
--- a/composer.json
+++ b/composer.json
@@ -19,10 +19,6 @@
"ext-fileinfo": "Improves mime type detection for files"
},
"autoload": {
- "psr-4": {
- "App\\": "app",
- "Config\\": "app/Config"
- },
"exclude-from-classmap": [
"**/Database/Migrations/**"
]
diff --git a/site1/app/Config/Constants.php b/site1/app/Config/Constants.php
index 8f8498a..302e19c 100644
--- a/site1/app/Config/Constants.php
+++ b/site1/app/Config/Constants.php
@@ -23,7 +23,8 @@ defined('APP_NAMESPACE') || define('APP_NAMESPACE', 'App');
| The path that Composer's autoload file is expected to live. By default,
| the vendor folder is in the Root directory, but you can customize that here.
*/
-defined('COMPOSER_PATH') || define('COMPOSER_PATH', ROOTPATH . 'vendor/autoload.php');
+defined('COMPOSER_PATH') || define('COMPOSER_PATH', ROOTPATH . '../vendor/autoload.php');
+define('VENDORPATH', realpath(ROOTPATH . '../vendor') . DIRECTORY_SEPARATOR);
/*
|--------------------------------------------------------------------------