get_version: force UTC
This commit is contained in:
parent
6ee0d4b05c
commit
50d4b30b33
|
@ -2,6 +2,7 @@
|
|||
define('VERSION_STATIC', '1.7.8');
|
||||
|
||||
function get_version() {
|
||||
date_default_timezone_set('UTC');
|
||||
$root_dir = dirname(dirname(__FILE__));
|
||||
|
||||
if (is_dir("$root_dir/.git") && file_exists("$root_dir/.git/ORIG_HEAD")) {
|
||||
|
|
Loading…
Reference in New Issue