commit 4d86d39f1f014ebcb0d793d641e8bf7164df4d58
parent b09c677b63b2a064a662c364b88aee1007204faa
Author: markseu <mark2011@mayberg.se>
Date: Mon, 14 Jan 2019 14:29:54 +0100
updated plugins
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/system/plugins/update.php b/system/plugins/update.php
@@ -4,7 +4,7 @@
// This file may be used and distributed under the terms of the public license.
class YellowUpdate {
- const VERSION = "0.7.24";
+ const VERSION = "0.7.25";
const PRIORITY = "2";
public $yellow; //access to API
public $updates; //number of updates
@@ -30,7 +30,7 @@ class YellowUpdate {
$this->yellow->config->save($fileNameConfig, array("staticDir" => "public/"));
}
}
- if (true) { //TODO: remove later, converts old robots file
+ if ($update) { //TODO: remove later, converts old robots file
$fileNameRobots = $this->yellow->config->get("configDir")."robots.txt";
$fileNameError = $this->yellow->config->get("configDir")."system-error.log";
if (is_file($fileNameRobots)) {