function __construct($name = 'default', $cached = false) { $this->name = $name; $this->cached = $cached; $this->pathHtml = Q::html(); $this->pathHtmlCache = Q::html() . 'cache/'; $this->pathStyle = Q::style(); $this->pathScript = Q::script(); $this->header = $this->pathHtml . 'header.html'; $this->body = $this->pathHtml . 'body.html'; $this->footer = $this->pathHtml . 'footer.html'; }