System update (for Oliver)
This commit is contained in:
parent
e11104aa89
commit
e91ed3c50b
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue