initialize the session earlier
This commit is contained in:
parent
d636e168a6
commit
b8b0b7606a
|
@ -441,14 +441,14 @@ class OC {
|
||||||
stream_wrapper_register('oc', 'OC\Files\Stream\OC');
|
stream_wrapper_register('oc', 'OC\Files\Stream\OC');
|
||||||
|
|
||||||
self::initTemplateEngine();
|
self::initTemplateEngine();
|
||||||
self::checkConfig();
|
|
||||||
self::checkInstalled();
|
|
||||||
self::checkSSL();
|
|
||||||
if ( !self::$CLI ) {
|
if ( !self::$CLI ) {
|
||||||
self::initSession();
|
self::initSession();
|
||||||
} else {
|
} else {
|
||||||
self::$session = new \OC\Session\Memory('');
|
self::$session = new \OC\Session\Memory('');
|
||||||
}
|
}
|
||||||
|
self::checkConfig();
|
||||||
|
self::checkInstalled();
|
||||||
|
self::checkSSL();
|
||||||
|
|
||||||
$errors = OC_Util::checkServer();
|
$errors = OC_Util::checkServer();
|
||||||
if (count($errors) > 0) {
|
if (count($errors) > 0) {
|
||||||
|
|
Loading…
Reference in New Issue