diff --git a/VERSION.json b/VERSION.json index 8b13f2888..7174a97dd 100644 --- a/VERSION.json +++ b/VERSION.json @@ -1 +1 @@ -{"major":2, "minor":3, "hotfix":90} \ No newline at end of file +{"major":2, "minor":3, "hotfix":91} \ No newline at end of file diff --git a/app/Controller/ServersController.php b/app/Controller/ServersController.php index 7c45c3ad9..60173a696 100755 --- a/app/Controller/ServersController.php +++ b/app/Controller/ServersController.php @@ -357,17 +357,16 @@ class ServersController extends AppController { App::uses('File', 'Utility'); App::uses('Folder', 'Utility'); $additionalViewVars = array(); + if ($tab == 'files') { + $files = $this->__manageFiles(); + $this->set('files', $files); + } // Only run this check on the diagnostics tab if ($tab == 'diagnostics' || $tab == 'download') { // check if the current version of MISP is outdated or not $version = $this->__checkVersion(); $this->set('version', $version); if ($version && (!$version['upToDate'] || $version['upToDate'] == 'older')) $diagnostic_errors++; - - if ($tab == 'files') { - $files = $this->__manageFiles(); - $this->set('files', $files); - } // check if the STIX and Cybox libraries are working and the correct version using the test script stixtest.py $stix = $this->Server->stixDiagnostics($diagnostic_errors, $stixVersion, $cyboxVersion);