diff options
Diffstat (limited to 'app/class/Modelrender.php')
-rw-r--r-- | app/class/Modelrender.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/class/Modelrender.php b/app/class/Modelrender.php index 1ad9e20..8f20f83 100644 --- a/app/class/Modelrender.php +++ b/app/class/Modelrender.php @@ -89,7 +89,7 @@ class Modelrender extends Modelpage $body = $this->getbody($this->readbody()); $parsebody = $this->bodyparser($body); - $html = "<!DOCTYPE html>\n<html>\n<head>\n' . $head . '\n</head>\n' . $parsebody . '\N</html>"; + $html = "<!DOCTYPE html>\n<html>\n<head>\n$head\n</head>\n$parsebody\n</html>"; return $html; } @@ -288,16 +288,16 @@ class Modelrender extends Modelpage if (!empty($this->page->templatecss())) { $tempaltecsspage = $this->page->templatecss(); - $head .= "<link href=\"$renderpath . $tempaltecsspage.css\" rel=\"stylesheet\" />\n"; + $head .= "<link href=\"$renderpath$tempaltecsspage.css\" rel=\"stylesheet\" />\n"; } - $head .= "<link href=\"$renderpath . $id.css\" rel=\"stylesheet\" />\n"; + $head .= "<link href=\"$renderpath$id.css\" rel=\"stylesheet\" />\n"; if (!empty($this->page->templatejavascript())) { $templatejspage = $this->page->templatejavascript(); - $head .= "<script src=\"$renderpath . $templatejspage.js\" async/></script>\n"; + $head .= "<script src=\"$renderpath$templatejspage.js\" async/></script>\n"; } if (!empty($this->page->javascript())) { - $head .= "<script src=\"$renderpath . $id.js\" async/></script>\n"; + $head .= "<script src=\"$renderpath$id.js\" async/></script>\n"; } if (!empty(Config::analytics())) { |