commit e91ed3c50b9fe38da3fbfe76da088e3a47ea1a23
parent e11104aa89c9f6af916df856069eea1032878c0b
Author: markseu <mark2011@mayberg.se>
Date: Sat, 24 Jun 2017 23:20:48 +0200
System update (for Oliver)
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/system/plugins/update.php b/system/plugins/update.php
@@ -5,7 +5,7 @@
class YellowUpdate
{
- const VERSION = "0.7.1";
+ const VERSION = "0.7.2";
var $yellow; //access to API
var $updates; //number of updates
@@ -294,7 +294,7 @@ class YellowUpdate
function updateSoftware($force = false)
{
$statusCode = 200;
- opcache_reset();
+ if(function_exists("opcache_reset")) opcache_reset();
$path = $this->yellow->config->get("pluginDir");
foreach($this->yellow->toolbox->getDirectoryEntries($path, "/^.*\.zip$/", true, false) as $entry)
{