docker-images/pluie/alpine-apache-fpm/pre-init.d/30-tz.sh

5 lines
137 B
Bash
Raw Normal View History

#!/bin/bash
tmpsed="/etc/php5/php.ini"
sed -i "s|;*date.timezone =.*|date.timezone = ${TZ}|i" $tmpsed
cat $tmpsed | grep "date.timezone"