aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-04-28 20:57:44 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-04-28 20:57:44 +0200
commit6935364b33b0fb8206a83b67aa9a8e6eb874a541 (patch)
treecaca2f9a37e817fcb9fcdbd68068d94c2f997684
parent526100dc90511bb3f37115c02fd449234ff6105c (diff)
downloadnextcloud-server-6935364b33b0fb8206a83b67aa9a8e6eb874a541.tar.gz
nextcloud-server-6935364b33b0fb8206a83b67aa9a8e6eb874a541.zip
add class Pimple to autloader
-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 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
*