mirror of
https://github.com/ajgon/bgtoolset
synced 2023-06-02 23:13:21 +00:00
fixes: set timezone if not set in php (#12)
This commit is contained in:
parent
70ac2074ab
commit
9b5b134e6b
1 changed files with 7 additions and 2 deletions
|
@ -73,8 +73,13 @@
|
|||
return false;
|
||||
}
|
||||
};
|
||||
var get_year =function() {return '<?= echo(date('Y')); ?>';};
|
||||
var get_day =function() {return '<?= echo(date('w')); ?>';};
|
||||
<?php
|
||||
if( ! ini_get('date.timezone') )
|
||||
date_default_timezone_set('UTC');
|
||||
|
||||
printf("var get_year =function() {return '".date('Y')."';};\n");
|
||||
printf(" var get_day =function() {return '".date('w')."';};\n");
|
||||
?>
|
||||
var fwv = '4.89';
|
||||
token ='bVBwcJUOF3x5Mi1jEhA4RR/STnwicOfara+atTbAJSE=';
|
||||
function loadLib(idx){
|
||||
|
|
Loading…
Reference in a new issue