aboutsummaryrefslogtreecommitdiffstats
path: root/modules/apache/templates/mod_php.conf
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-02-23 17:14:31 +0000
committerMichael Scherer <misc@mageia.org>2011-02-23 17:14:31 +0000
commit87ca7e0838341479e913ff31ff8a0ca808621a4a (patch)
tree2c896c515a00813d64248e08af16070b47d02614 /modules/apache/templates/mod_php.conf
parent0f0f987a310f673d1d0ac3cfa103aa2318104eec (diff)
downloadpuppet-87ca7e0838341479e913ff31ff8a0ca808621a4a.tar
puppet-87ca7e0838341479e913ff31ff8a0ca808621a4a.tar.gz
puppet-87ca7e0838341479e913ff31ff8a0ca808621a4a.tar.bz2
puppet-87ca7e0838341479e913ff31ff8a0ca808621a4a.tar.xz
puppet-87ca7e0838341479e913ff31ff8a0ca808621a4a.zip
- php complain when the timezone is not set, and do not seem
to be able to guess it from system setup. It is set in apache config as this is easier to do ( alternative is to use augeas to modify php.ini, would require more work on our servers )
Diffstat (limited to 'modules/apache/templates/mod_php.conf')
-rw-r--r--modules/apache/templates/mod_php.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/apache/templates/mod_php.conf b/modules/apache/templates/mod_php.conf
new file mode 100644
index 00000000..492d4bba
--- /dev/null
+++ b/modules/apache/templates/mod_php.conf
@@ -0,0 +1,4 @@
+# as php insist to have this value set, let's
+# look on the system for him
+php_value date.timezone "<%= timezone %>"
+