change version_static based on y.m

This commit is contained in:
Andrew Dolgov 2015-07-09 21:47:42 +03:00
parent 206e99f2ba
commit 9959acc87a
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
<?php <?php
define('VERSION_STATIC', '1.15.3'); define('VERSION_STATIC', '15.7');
function get_version() { function get_version() {
date_default_timezone_set('UTC'); date_default_timezone_set('UTC');
@ -13,7 +13,7 @@
define("GIT_VERSION_HEAD", $suffix); define("GIT_VERSION_HEAD", $suffix);
define("GIT_VERSION_TIMESTAMP", $timestamp); define("GIT_VERSION_TIMESTAMP", $timestamp);
return VERSION_STATIC . ".$suffix"; return VERSION_STATIC . " ($suffix)";
} else { } else {
return VERSION_STATIC; return VERSION_STATIC;
} }