mirror of https://github.com/MISP/MISP
Merge branch 'hotfix-2.3.91'
commit
b17c447550
|
@ -1 +1 @@
|
|||
{"major":2, "minor":3, "hotfix":90}
|
||||
{"major":2, "minor":3, "hotfix":91}
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue