Use composer autoloader to load Patchwork
This commit is contained in:
parent
c864f5e20c
commit
c93ddf77b9
2 changed files with 1 additions and 3 deletions
2
3rdparty
2
3rdparty
|
@ -1 +1 @@
|
|||
Subproject commit 94179d9d70b6be43ff4251941034cd2735d10f4e
|
||||
Subproject commit f4b9191a5f825a4285bff4b8478537a20997534c
|
|
@ -461,7 +461,6 @@ class OC {
|
|||
$loader->add('Doctrine\\DBAL',OC::$THIRDPARTYROOT . '/3rdparty/doctrine/dbal/lib');
|
||||
$loader->add('Symfony\\Component\\Routing',OC::$THIRDPARTYROOT . '/3rdparty/symfony/routing');
|
||||
$loader->add('Symfony\\Component\\Console',OC::$THIRDPARTYROOT . '/3rdparty/symfony/console');
|
||||
$loader->add('Patchwork',OC::$THIRDPARTYROOT . '/3rdparty');
|
||||
} else {
|
||||
OC_Response::setStatus(OC_Response::STATUS_SERVICE_UNAVAILABLE);
|
||||
OC_Template::printErrorPage('Composer autoloader not found, unable to continue.');
|
||||
|
@ -525,7 +524,6 @@ class OC {
|
|||
stream_wrapper_register('quota', 'OC\Files\Stream\Quota');
|
||||
stream_wrapper_register('oc', 'OC\Files\Stream\OC');
|
||||
|
||||
|
||||
\OC::$server->getEventLogger()->start('init_session', 'Initialize session');
|
||||
self::initTemplateEngine();
|
||||
OC_App::loadApps(array('session'));
|
||||
|
|
Loading…
Reference in a new issue