Skip to content

Commit 00ee280

Browse files
authored
Reverted composer autoloader patch (#2791)
1 parent 593502e commit 00ee280

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

app/Mage.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,6 @@
4848

4949
Varien_Autoload::register();
5050

51-
/** AUTOLOADER PATCH **/
52-
if (file_exists($autoloaderPath = BP . DS . 'vendor/autoload.php') ||
53-
file_exists($autoloaderPath = BP . DS . '../vendor/autoload.php')
54-
) {
55-
require $autoloaderPath;
56-
}
57-
/** AUTOLOADER PATCH **/
58-
5951
/* Support additional includes, such as composer's vendor/autoload.php files */
6052
foreach (glob(BP . DS . 'app' . DS . 'etc' . DS . 'includes' . DS . '*.php') as $path) {
6153
include_once $path;

0 commit comments

Comments
 (0)