@@ -217,7 +217,7 @@ |
||
| 217 | 217 | foreach ($route['filters'] as $key => $value) { |
| 218 | 218 | $filters[] = $value; |
| 219 | 219 | } |
| 220 | - }else{ |
|
| 220 | + } else{ |
|
| 221 | 221 | $filters[] = $route['filters']; |
| 222 | 222 | } |
| 223 | 223 | |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | /* Return current action route */ |
| 21 | 21 | $action = Router::currentRouteAction(); |
| 22 | 22 | |
| 23 | -}catch(Exception $er){ |
|
| 23 | +} catch(Exception $er){ |
|
| 24 | 24 | |
| 25 | 25 | die("Code Error: {$er->getCode()}, Line: {$er->getLine()}, File: {$er->getFile()}, Message: {$er->getMessage()}."); |
| 26 | 26 | |
@@ -60,7 +60,7 @@ |
||
| 60 | 60 | |
| 61 | 61 | if( ($this->getProtocol() == 'form') ){ |
| 62 | 62 | $this->ControllerForm($controller, $method, $data['POST']); |
| 63 | - }else { |
|
| 63 | + } else { |
|
| 64 | 64 | $data = (array_key_exists('data',$data['POST'])) ? json_decode($data['POST']['data'], true) : $data['GET']; |
| 65 | 65 | call_user_func_array([$controller,$method], $data); |
| 66 | 66 | } |