mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Update version on callsing debug page
This commit is contained in:
@@ -27,6 +27,8 @@ class Debug extends CI_Controller
|
||||
$footerData = [];
|
||||
$footerData['scripts'] = ['assets/js/sections/debug.js'];
|
||||
|
||||
$this->Update_model->update_check(true);
|
||||
|
||||
$data['running_version'] = $this->optionslib->get_option('version');
|
||||
$data['latest_release'] = $this->optionslib->get_option('latest_release');
|
||||
if ($data['latest_release'] && version_compare($data['latest_release'], $data['running_version'], '>')) {
|
||||
|
||||
Reference in New Issue
Block a user