provide a dummy session for CLI
This commit is contained in:
parent
f547b66d6b
commit
040045cc2e
|
@ -445,6 +445,8 @@ class OC {
|
|||
self::checkSSL();
|
||||
if ( !self::$CLI ) {
|
||||
self::initSession();
|
||||
} else {
|
||||
self::$session = new \OC\Session\Memory('');
|
||||
}
|
||||
|
||||
$errors = OC_Util::checkServer();
|
||||
|
|
Loading…
Reference in New Issue