@@ -20,8 +20,7 @@ |
||
20 | 20 | if($res === false) |
21 | 21 | { |
22 | 22 | $app->response->setStatus(403); |
23 | - } |
|
24 | - else |
|
23 | + } else |
|
25 | 24 | { |
26 | 25 | echo json_encode($res); |
27 | 26 | } |
@@ -17,8 +17,7 @@ |
||
17 | 17 | if($this->secure_root === false || strlen($this->secure_root) === 0) |
18 | 18 | { |
19 | 19 | $this->secure_root = '/'; |
20 | - } |
|
21 | - else if($this->secure_root[strlen($this->secure_root)-1] !== '/') |
|
20 | + } else if($this->secure_root[strlen($this->secure_root)-1] !== '/') |
|
22 | 21 | { |
23 | 22 | $this->secure_root.= '/'; |
24 | 23 | } |