We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2730ef7 commit 7dd1c41Copy full SHA for 7dd1c41
app/Mage.php
@@ -42,6 +42,12 @@
42
43
Varien_Autoload::register();
44
45
+/** AUTOLOADER PATCH **/
46
+if (file_exists($autoloaderPath = (getenv('COMPOSER_VENDOR_PATH') ?: BP . DS . 'vendor') . DS . 'autoload.php')) {
47
+ require $autoloaderPath;
48
+}
49
50
+
51
/* Support additional includes, such as composer's vendor/autoload.php files */
52
foreach (glob(BP . DS . 'app' . DS . 'etc' . DS . 'includes' . DS . '*.php') as $path) {
53
include_once $path;
0 commit comments