浏览代码

set default time zone to UTC

Serghey Rodin 13 年之前
父节点
当前提交
492ce61bd5
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      install/vst-install.sh

+ 1 - 0
install/vst-install.sh

@@ -565,6 +565,7 @@ fi
 
 # php configuration
 sed -i 's/short_open_tag = Off/short_open_tag = On/g' /etc/php.ini
+sed -i "s/;date.timezone =/date.timezone = UTC/g" /etc/php.ini
 
 # phpMyAdmin configuration
 wget $CHOST/$VERSION/httpd-pma.conf -O /etc/httpd/conf.d/phpMyAdmin.conf