Use lib/ instead of src/ because that is what people are used to
This commit is contained in:
parent
ee3457aec0
commit
d879354ccb
|
@ -164,7 +164,7 @@ class OC_App {
|
||||||
protected static function registerAutoloading($app, $path) {
|
protected static function registerAutoloading($app, $path) {
|
||||||
// Register on PSR-4 composer autoloader
|
// Register on PSR-4 composer autoloader
|
||||||
$appNamespace = \OC\AppFramework\App::buildAppNamespace($app);
|
$appNamespace = \OC\AppFramework\App::buildAppNamespace($app);
|
||||||
\OC::$composerAutoloader->addPsr4($appNamespace . '\\', $path . '/src/', true);
|
\OC::$composerAutoloader->addPsr4($appNamespace . '\\', $path . '/lib/', true);
|
||||||
if (defined('PHPUNIT_RUN')) {
|
if (defined('PHPUNIT_RUN')) {
|
||||||
\OC::$composerAutoloader->addPsr4($appNamespace . '\\Tests\\', $path . '/tests/', true);
|
\OC::$composerAutoloader->addPsr4($appNamespace . '\\Tests\\', $path . '/tests/', true);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue