Commit 4839e094 authored by Lukáš Bachleda's avatar Lukáš Bachleda

nwm uz

parent a6e4a02b
Pipeline #21901 canceled with stages
......@@ -8,15 +8,14 @@ abstract class Controller {
abstract function process($params);
public function renderView() {
if ($this->view)
{
if ($this->view) {
extract($this->data);
require("views/" . $this->view . ".php");
}
}
public function redirect($url) {
header("Location: /$url");
header("Location:". $url);
header("Connection: close");
exit;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment