diff options
-rw-r--r-- | lib/base.php | 1 | ||||
-rw-r--r-- | lib/private/appframework/utility/simplecontainer.php | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/lib/base.php b/lib/base.php index 6ea77aa7a58..cf533a031a9 100644 --- a/lib/base.php +++ b/lib/base.php @@ -404,6 +404,7 @@ class OC { self::$loader->registerPrefix('Symfony\\Component\\Routing', 'symfony/routing'); self::$loader->registerPrefix('Symfony\\Component\\Console', 'symfony/console'); self::$loader->registerPrefix('Patchwork', '3rdparty'); + self::$loader->registerPrefix('Pimple', '3rdparty/Pimple'); spl_autoload_register(array(self::$loader, 'load')); // set some stuff diff --git a/lib/private/appframework/utility/simplecontainer.php b/lib/private/appframework/utility/simplecontainer.php index 9197ec13853..1ad06b9ab23 100644 --- a/lib/private/appframework/utility/simplecontainer.php +++ b/lib/private/appframework/utility/simplecontainer.php @@ -2,9 +2,6 @@ namespace OC\AppFramework\Utility; -// register 3rdparty autoloaders -require_once __DIR__ . '/../../../../3rdparty/Pimple/Pimple.php'; - /** * Class SimpleContainer * |