mikuli.cz

:)
git clone https://git.sr.ht/~ashymad/mikuli.cz
Log | Files | Refs

commit 3bc9ae710b0de20f7028c3c32ac5e8167e3a333b
parent 73f9cf18447cf75a53b15bf67bc8bade59f6bc14
Author: markseu <mark2011@mayberg.se>
Date:   Tue, 25 Nov 2014 09:52:23 +0100

Core update (better event handling)

Diffstat:
MREADME.md | 2+-
Msystem/core/core.php | 10+++-------
2 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/README.md b/README.md @@ -1,4 +1,4 @@ -Yellow 0.4.10 +Yellow 0.4.11 ============= Yellow is for people who make websites. [Visit website](http://datenstrom.se/yellow). diff --git a/system/core/core.php b/system/core/core.php @@ -5,7 +5,7 @@ // Yellow main class class Yellow { - const Version = "0.4.10"; + const Version = "0.4.11"; var $page; //current page var $pages; //pages from file system var $config; //configuration @@ -443,11 +443,7 @@ class YellowPage $this->yellow->config->get("serverBase"), rtrim($this->yellow->config->get("webinterfaceLocation"), '/').$this->location)); foreach($this->yellow->plugins->plugins as $key=>$value) { - if(method_exists($value["obj"], "onParseMeta")) - { - $output = $value["obj"]->onParseMeta($this, $this->rawData); - if(!is_null($output)) break; - } + if(method_exists($value["obj"], "onParseMeta")) $value["obj"]->onParseMeta($this, $this->rawData); } } @@ -468,7 +464,7 @@ class YellowPage if(method_exists($value["obj"], "onParseContent")) { $output = $value["obj"]->onParseContent($this, $this->parserData); - if(!is_null($output)) { $this->parserData = $output; break; } + if(!is_null($output)) { $this->parserData = $output; } } } if(!$this->isExisting("description"))