Append composer's autoloader
authorTim Düsterhus <duesterhus@woltlab.com>
Sun, 6 Nov 2016 13:16:45 +0000 (14:16 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Sun, 6 Nov 2016 13:16:45 +0000 (14:16 +0100)
wcfsetup/install/files/lib/system/api/autoload.php
wcfsetup/install/files/lib/system/api/composer.json
wcfsetup/install/files/lib/system/api/composer.lock
wcfsetup/install/files/lib/system/api/composer/autoload_real.php

index 42e256858d99db52be45d1089ff68a626a7c8baa..0ba15eede3216abec716bc3989a2ae5cf1f8de58 100644 (file)
@@ -2,6 +2,6 @@
 
 // autoload.php @generated by Composer
 
-require_once __DIR__ . '/composer' . '/autoload_real.php';
+require_once __DIR__ . '/composer/autoload_real.php';
 
 return ComposerAutoloaderInit4a4e0e985ef68770d710dc260edc44ab::getLoader();
index a2ebfdb80b90740142fbc79359df1b4177542267..98e6d3d83c5d9fe129b21b66cfc8c586c328191c 100644 (file)
@@ -1,6 +1,7 @@
 {
     "config": {
-        "vendor-dir": "./"
+        "vendor-dir": "./",
+        "prepend-autoloader": false
     },
     "require": {
         "ezyang/htmlpurifier": "4.8.*",
index 3b446b280d75eb9c57f13c15d911f8bfcb7e098a..79be2bfd28137ad9fae2c450a0cc80becf11a18a 100644 (file)
@@ -4,7 +4,7 @@
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
         "This file is @generated automatically"
     ],
-    "hash": "b368975e316f52b2af949a6d8fdc560e",
+    "hash": "ef930cc4ef43476a8a27b9745f651069",
     "content-hash": "d9f12e8c782481ed844e535718c478c3",
     "packages": [
         {
index 287ef08662e6c3287f9dea963bd48b14f46ad449..e52eb9805b4a0a8b5eac79b197d450579ee7397c 100644 (file)
@@ -19,7 +19,7 @@ class ComposerAutoloaderInit4a4e0e985ef68770d710dc260edc44ab
             return self::$loader;
         }
 
-        spl_autoload_register(array('ComposerAutoloaderInit4a4e0e985ef68770d710dc260edc44ab', 'loadClassLoader'), true, true);
+        spl_autoload_register(array('ComposerAutoloaderInit4a4e0e985ef68770d710dc260edc44ab', 'loadClassLoader'), true, false);
         self::$loader = $loader = new \Composer\Autoload\ClassLoader();
         spl_autoload_unregister(array('ComposerAutoloaderInit4a4e0e985ef68770d710dc260edc44ab', 'loadClassLoader'));
 
@@ -45,7 +45,7 @@ class ComposerAutoloaderInit4a4e0e985ef68770d710dc260edc44ab
             }
         }
 
-        $loader->register(true);
+        $loader->register(false);
 
         if ($useStaticLoader) {
             $includeFiles = Composer\Autoload\ComposerStaticInit4a4e0e985ef68770d710dc260edc44ab::$files;