Merge pull request #18811 from owncloud/better-submodule-warning

Proper details about git submodule update
This commit is contained in:
Robin McCorkell 2015-09-03 14:04:40 +01:00
commit 5f1dc41a38
1 changed files with 1 additions and 1 deletions

View File

@ -540,7 +540,7 @@ class OC {
// setup 3rdparty autoloader
$vendorAutoLoad = OC::$THIRDPARTYROOT . '/3rdparty/autoload.php';
if (!file_exists($vendorAutoLoad)) {
throw new \RuntimeException('Composer autoloader not found, unable to continue. Check the folder "3rdparty".');
throw new \RuntimeException('Composer autoloader not found, unable to continue. Check the folder "3rdparty". Running "git submodule update --init" will initialize the git submodule that handles the subfolder "3rdparty".');
}
require_once $vendorAutoLoad;