2014-03-12, 04:21:24
hmmm... i guess solved
anyfile.html with:
php5
OR
php4
run anyfile.html on server - profit!
but strange for CMS to use this method.
anyfile.html with:
php5
Code:
<?
echo date('Y-m-d H:i:s').PHP_EOL;
date_default_timezone_set('Europe/Kiev');
echo date('Y-m-d H:i:s').PHP_EOL;
?>
php4
Code:
<?
echo date('Y-m-d H:i:s').PHP_EOL;
putenv ('TZ=Europe/Kiev');
echo date('Y-m-d H:i:s').PHP_EOL;
?>
but strange for CMS to use this method.