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:
commit
906061a07b
|
@ -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
|
||||
|
|
|
@ -2,9 +2,6 @@
|
|||
|
||||
namespace OC\AppFramework\Utility;
|
||||
|
||||
// register 3rdparty autoloaders
|
||||
require_once 'Pimple/Pimple.php';
|
||||
|
||||
/**
|
||||
* Class SimpleContainer
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue