Fix previous commit

remotes/origin/stable5
Robin Appelman 12 years ago
parent f3f55654ce
commit 73ed62976d
  1. 2
      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';

Loading…
Cancel
Save