We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 794191e commit ecefca5Copy full SHA for ecefca5
usr/local/sbin/eeupdate
@@ -425,7 +425,7 @@ EE122()
425
mkdir -p /var/log/php5/ || OwnError "Unable To Create PHP5 Log Directory: /var/log/php5/"
426
fi
427
428
- TIME_ZONE=$(cat /etc/timezone | sed "s'/'\\\/'")
+ TIME_ZONE=$(cat /etc/timezone | head -n1 | sed "s'/'\\\/'")
429
sed -i "s/;date.timezone.*/date.timezone = $TIME_ZONE/" /etc/php5/fpm/php.ini
430
431
# Change PHP5-FPM Error Logs Location
0 commit comments