diff options
author | Thomas Müller <DeepDiver1975@users.noreply.github.com> | 2016-05-11 13:53:16 +0200 |
---|---|---|
committer | Thomas Müller <DeepDiver1975@users.noreply.github.com> | 2016-05-11 13:53:16 +0200 |
commit | 8729415880181275c9d4a05707273e13c9cf7e1b (patch) | |
tree | f06d28d412639b6fdafb265341319448b7c2b50a /lib/private/legacy | |
parent | efa545f8f0697896a538587bee644fc7c3699185 (diff) | |
parent | db16dc66447f15429561213d9825673f047a5202 (diff) | |
download | nextcloud-server-8729415880181275c9d4a05707273e13c9cf7e1b.tar.gz nextcloud-server-8729415880181275c9d4a05707273e13c9cf7e1b.zip |
Merge pull request #24531 from owncloud/psr4-loading-for-install-and-commands
Correctly register PSR-4 autoloading before install.php and loading commands
Diffstat (limited to 'lib/private/legacy')
-rw-r--r-- | lib/private/legacy/app.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/legacy/app.php b/lib/private/legacy/app.php index dab4c1a70c7..f558c873556 100644 --- a/lib/private/legacy/app.php +++ b/lib/private/legacy/app.php @@ -159,10 +159,11 @@ class OC_App { } /** + * @internal * @param string $app * @param string $path */ - protected static function registerAutoloading($app, $path) { + public static function registerAutoloading($app, $path) { // Register on PSR-4 composer autoloader $appNamespace = \OC\AppFramework\App::buildAppNamespace($app); \OC::$composerAutoloader->addPsr4($appNamespace . '\\', $path . '/lib/', true); |