mikuli.cz

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

commit ff1f6c3ce5e3508f64a642118ee97ff19cc723b1
parent f1b720129071e7ce99fdce7b0df8a7920005f861
Author: markseu <mark2011@mayberg.se>
Date:   Fri, 28 Sep 2018 14:14:16 +0200

Updated config and plugins

Diffstat:
Msystem/plugins/update.php | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/system/plugins/update.php b/system/plugins/update.php @@ -22,11 +22,11 @@ class YellowUpdate { public function onStartup($update) { if ($update) { //TODO: remove later, converts old config $fileNameConfig = $this->yellow->config->get("configDir").$this->yellow->config->get("configFile"); - if ($this->yellow->config->isExisting("parserSafeMode") { - $this->yellow->config->save($fileNameConfig, array("safeMode" => $this->yellow->config->get("parserSafeMode")); + if ($this->yellow->config->isExisting("parserSafeMode")) { + $this->yellow->config->save($fileNameConfig, array("safeMode" => $this->yellow->config->get("parserSafeMode"))); } - if ($this->yellow->config->get("staticDir")=="cache/" { - $this->yellow->config->save($fileNameConfig, array("staticDir" => "public/"); + if ($this->yellow->config->get("staticDir")=="cache/") { + $this->yellow->config->save($fileNameConfig, array("staticDir" => "public/")); } } if ($update) {