Skip to content
Snippets Groups Projects
Commit 2594fb80 authored by Thomas Müller's avatar Thomas Müller
Browse files

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

parent e2327f83
No related branches found
No related tags found
No related merge requests found
......@@ -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();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment