|
|
|
|
@ -457,7 +457,8 @@ class OC {
|
|
|
|
|
// setup 3rdparty autoloader
|
|
|
|
|
$vendorAutoLoad = OC::$THIRDPARTYROOT . '/3rdparty/autoload.php';
|
|
|
|
|
if (file_exists($vendorAutoLoad)) {
|
|
|
|
|
require_once $vendorAutoLoad;
|
|
|
|
|
$loader = require_once $vendorAutoLoad;
|
|
|
|
|
$loader->add('PasswordHash', OC::$THIRDPARTYROOT . '/3rdparty/phpass');
|
|
|
|
|
} else {
|
|
|
|
|
OC_Response::setStatus(OC_Response::STATUS_SERVICE_UNAVAILABLE);
|
|
|
|
|
OC_Template::printErrorPage('Composer autoloader not found, unable to continue.');
|
|
|
|
|
|