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

5 lines
137 B
Bash
Raw Normal View History

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