]> source.dussan.org Git - nextcloud-server.git/commitdiff
don't specify path to 3rdparty directory when registering Pimple autoloader
authorAdam Williamson <awilliam@redhat.com>
Wed, 1 Jan 2014 17:52:19 +0000 (09:52 -0800)
committerAdam Williamson <awilliam@redhat.com>
Wed, 1 Jan 2014 17:52:19 +0000 (09:52 -0800)
The core 3rdparty directory is in the include_path from lib/base.php anyway, so this is unnecessary, and causes problems for downstream distributors who unbundle Pimple.

lib/private/appframework/utility/simplecontainer.php

index 7e4db63bde58b5c76e8b79295d19a9f9829e9224..e631e657756e4b98ef29cd445d15ccb2b07da182 100644 (file)
@@ -3,7 +3,7 @@
 namespace OC\AppFramework\Utility;
 
 // register 3rdparty autoloaders
-require_once __DIR__ . '/../../../../3rdparty/Pimple/Pimple.php';
+require_once 'Pimple/Pimple.php';
 
 /**
  * Class SimpleContainer