provide a dummy session for CLI
This commit is contained in:
parent
f547b66d6b
commit
040045cc2e
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue