Skip to content
Snippets Groups Projects
Commit 73ed6297 authored by Robin Appelman's avatar Robin Appelman
Browse files

Fix previous commit

parent f3f55654
No related branches found
No related tags found
No related merge requests found
......@@ -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';
......
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