|
@@ -113,7 +113,7 @@ |
|
|
block discarded – undo |
|
113
|
113
|
return $response->withHeader('Content-Type', 'application/json;charset=utf-8')->withHeader('X-Powered-By', "reformo/rslim")->withStatus($status); |
|
114
|
114
|
} |
|
115
|
115
|
|
|
116
|
|
- private function returnHtml($functionName, $request, $args, $response, $route, $action, $template){ |
|
|
116
|
+ private function returnHtml($functionName, $request, $args, $response, $route, $action, $template) { |
|
117
|
117
|
if (!file_exists($this->config['base_dir'] . $template)) { |
|
118
|
118
|
throw new \Exception("<strong>Template file not found!</strong> " . $route . '/' . $action . " needs a template file at:" . $template); |
|
119
|
119
|
} |
Please login to merge, or discard this patch.