Merge pull request #8171 from owncloud/fix-import

be nice and use a relative import so people can use the class without fi...
This commit is contained in:
Bernhard Posselt 2014-05-02 22:43:19 +02:00
commit 906061a07b
2 changed files with 1 additions and 3 deletions

View File

@ -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

View File

@ -2,9 +2,6 @@
namespace OC\AppFramework\Utility;
// register 3rdparty autoloaders
require_once 'Pimple/Pimple.php';
/**
* Class SimpleContainer
*