provide a dummy session for CLI

This commit is contained in:
Robin Appelman 2013-05-28 01:15:38 +02:00
parent f547b66d6b
commit 040045cc2e
1 changed files with 2 additions and 0 deletions

View File

@ -445,6 +445,8 @@ class OC {
self::checkSSL();
if ( !self::$CLI ) {
self::initSession();
} else {
self::$session = new \OC\Session\Memory('');
}
$errors = OC_Util::checkServer();