diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-02-07 18:30:01 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2013-02-07 18:30:01 +0100 |
commit | 73ed62976de60ed1ab6728944d638e5b9b4b4e10 (patch) | |
tree | e5a7e24af994d3019f3eb01e2e6ef722563314ea /lib | |
parent | f3f55654ce0202bcb00e692ea318b2f165354746 (diff) | |
download | nextcloud-server-73ed62976de60ed1ab6728944d638e5b9b4b4e10.tar.gz nextcloud-server-73ed62976de60ed1ab6728944d638e5b9b4b4e10.zip |
Fix previous commit
Diffstat (limited to 'lib')
-rw-r--r-- | lib/router.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/router.php b/lib/router.php index fbf56a1bb42..dbaca9e0d5d 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'; |