From 73ed62976de60ed1ab6728944d638e5b9b4b4e10 Mon Sep 17 00:00:00 2001
From: Robin Appelman <icewind@owncloud.com>
Date: Thu, 7 Feb 2013 18:30:01 +0100
Subject: [PATCH] Fix previous commit

---
 lib/router.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/router.php b/lib/router.php
index fbf56a1bb4..dbaca9e0d5 100644
--- a/lib/router.php
+++ b/lib/router.php
@@ -23,7 +23,7 @@ class OC_Router {
 
 	public function __construct() {
 		$baseUrl = OC_Helper::linkTo('', 'index.php');
-		if (OC::$CLI) {
+		if ( !OC::$CLI) {
 			$method = $_SERVER['REQUEST_METHOD'];
 		}else{
 			$method = 'GET';
-- 
GitLab