Skip to content
Snippets Groups Projects
Commit 67468447 authored by Stefan Galinski's avatar Stefan Galinski :video_game:
Browse files

[TASK] Set php timezone

parent 150f76bc
No related branches found
No related tags found
No related merge requests found
......@@ -97,6 +97,18 @@ replace_or_add 'Increase post_max_size limit - CLI' do
line 'post_max_size = 10M'
end
replace_or_add 'Set date.timezone' do
path '/etc/php5/apache2/php.ini'
pattern 'date.timezone =.*'
line 'date.timezone = Europe/Berlin'
end
replace_or_add 'date.timezone - CLI' do
path '/etc/php5/cli/php.ini'
pattern 'date.timezone =.*'
line 'date.timezone = Europe/Berlin'
end
################################
### Setup Apache Environment ###
################################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment