summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/base.php1
-rw-r--r--lib/private/appframework/utility/simplecontainer.php3
2 files changed, 1 insertions, 3 deletions
diff --git a/lib/base.php b/lib/base.php
index 38cd272a89f..1f7d0c0da65 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -436,6 +436,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 d08a4879e34..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 'Pimple/Pimple.php';
-
/**
* Class SimpleContainer
*