Completed
Push — master ( 48b7fc...f62fbf )
by Patrick
01:58
created
api/v1/index.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,8 +20,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
class.SecurePage.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,8 +17,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.