Use lib/ instead of src/ because that is what people are used to

This commit is contained in:
Joas Schilling 2016-05-02 15:45:52 +02:00
parent ee3457aec0
commit d879354ccb
No known key found for this signature in database
GPG Key ID: 70A0B324C41C0946
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ class OC_App {
protected static function registerAutoloading($app, $path) {
// Register on PSR-4 composer autoloader
$appNamespace = \OC\AppFramework\App::buildAppNamespace($app);
\OC::$composerAutoloader->addPsr4($appNamespace . '\\', $path . '/src/', true);
\OC::$composerAutoloader->addPsr4($appNamespace . '\\', $path . '/lib/', true);
if (defined('PHPUNIT_RUN')) {
\OC::$composerAutoloader->addPsr4($appNamespace . '\\Tests\\', $path . '/tests/', true);
}