Fix previous commit
This commit is contained in:
parent
f3f55654ce
commit
73ed62976d
|
@ -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…
Reference in New Issue