From 9b4a827e0bd9dc02fe7f2c9487fed21f50447ea0 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Wed, 1 Jan 2014 09:52:19 -0800 Subject: [PATCH] don't specify path to 3rdparty directory when registering Pimple autoloader 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/appframework/utility/simplecontainer.php b/lib/private/appframework/utility/simplecontainer.php index 7e4db63bde5..e631e657756 100644 --- a/lib/private/appframework/utility/simplecontainer.php +++ b/lib/private/appframework/utility/simplecontainer.php @@ -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 -- 2.39.5