Don't start the session when in cli mode
This commit is contained in:
parent
26e2672a5a
commit
172499d5f3
|
@ -478,7 +478,9 @@ class OC {
|
||||||
self::checkConfig();
|
self::checkConfig();
|
||||||
self::checkInstalled();
|
self::checkInstalled();
|
||||||
self::checkSSL();
|
self::checkSSL();
|
||||||
self::initSession();
|
if ( !self::$CLI ) {
|
||||||
|
self::initSession();
|
||||||
|
}
|
||||||
|
|
||||||
$errors = OC_Util::checkServer();
|
$errors = OC_Util::checkServer();
|
||||||
if (count($errors) > 0) {
|
if (count($errors) > 0) {
|
||||||
|
|
Loading…
Reference in New Issue