diff options
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php index 3b421486daf..8633ae9b637 100644 --- a/lib/base.php +++ b/lib/base.php @@ -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) { |