don't silently exit in cli-mode in case ownCloud in not yet installed

remotes/origin/fix-10825
Thomas Müller 12 years ago
parent e2327f83ed
commit 2594fb80aa
  1. 2
      lib/base.php

@ -214,6 +214,8 @@ class OC {
if (!OC::$CLI) {
$url = 'http://' . $_SERVER['SERVER_NAME'] . OC::$WEBROOT . '/index.php';
header("Location: $url");
} else {
throw new Exception("Not installed");
}
exit();
}

Loading…
Cancel
Save