Merge pull request #3026 from owncloud/cli-no-session

Don't start the session when in cli mode
This commit is contained in:
Bart Visscher 2013-04-26 06:20:39 -07:00
commit 686f836736

View file

@ -478,7 +478,9 @@ class OC {
self::checkConfig();
self::checkInstalled();
self::checkSSL();
self::initSession();
if ( !self::$CLI ) {
self::initSession();
}
$errors = OC_Util::checkServer();
if (count($errors) > 0) {