commit 0e4ac6ea2524d2289746724a32ca8bb56de1e560
parent c7ca2b329abd9e941e4d4ffc66e69534550ab8f3
Author: markseu <mark2011@mayberg.se>
Date: Wed, 15 Jun 2016 17:02:29 +0200
System update (for Juh)
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/system/plugins/core.php b/system/plugins/core.php
@@ -481,11 +481,10 @@ class YellowPage
$this->yellow->config->get("serverBase"),
rtrim($this->yellow->config->get("webinterfaceLocation"), '/').$this->location));
$this->set("pageFile", $this->yellow->lookup->normaliseFile($this->fileName));
- $this->set("pageType", $this->yellow->toolbox->getFileExtension($this->fileName));
} else {
+ $this->set("type", $this->yellow->toolbox->getFileExtension($this->fileName));
$this->set("modified", date("Y-m-d H:i:s", $this->yellow->toolbox->getFileModified($this->fileName)));
$this->set("pageFile", $this->yellow->lookup->normaliseFile($this->fileName, true));
- $this->set("pageType", $this->yellow->toolbox->getFileExtension($this->fileName));
}
if(!empty($pageError)) $this->set("pageError", $pageError);
foreach($this->yellow->plugins->plugins as $key=>$value)