Version.php (icingaweb2-2.11.3) | : | Version.php (icingaweb2-2.11.4) | ||
---|---|---|---|---|
<?php | <?php | |||
/* Icinga Web 2 | (c) 2015 Icinga Development Team | GPLv2+ */ | /* Icinga Web 2 | (c) 2015 Icinga Development Team | GPLv2+ */ | |||
namespace Icinga\Application; | namespace Icinga\Application; | |||
/** | /** | |||
* Retrieve the version of Icinga Web 2 | * Retrieve the version of Icinga Web 2 | |||
*/ | */ | |||
class Version | class Version | |||
{ | { | |||
const VERSION = '2.11.3'; | const VERSION = '2.11.4'; | |||
/** | /** | |||
* Get the version of this instance of Icinga Web 2 | * Get the version of this instance of Icinga Web 2 | |||
* | * | |||
* @return array | * @return array | |||
*/ | */ | |||
public static function get() | public static function get() | |||
{ | { | |||
$version = array('appVersion' => self::VERSION); | $version = array('appVersion' => self::VERSION); | |||
preg_match('/2.(\d+)\./', self::VERSION, $matches); | preg_match('/2.(\d+)\./', self::VERSION, $matches); | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |