Harmonize version reporting in ui and api
Everything should use the version from the VERSION file created by the installer like this.
This commit is contained in:
parent
e3785e25f9
commit
bd18caf69d
8 changed files with 23 additions and 31 deletions
|
@ -114,7 +114,7 @@ class LoginController extends Zend_Controller_Action
|
|||
}
|
||||
|
||||
$this->view->form = $form;
|
||||
$this->view->airtimeVersion = Application_Model_Preference::GetAirtimeVersion();
|
||||
$this->view->airtimeVersion = $CC_CONFIG['airtime_version'];
|
||||
$this->view->airtimeCopyright = AIRTIME_COPYRIGHT_DATE;
|
||||
if (isset($CC_CONFIG['demo'])) {
|
||||
$this->view->demo = $CC_CONFIG['demo'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue