changeset 17:5ba2ddf53c29

Make sure we specify a default charset (even thought it defaults to UTF-8) because ownCloud complains
author IBBoard <dev@ibboard.co.uk>
date Sat, 21 Feb 2015 09:37:00 +0000
parents aa5b200da1c6
children ed5edb4c9412
files modules/website/manifests/php.pp
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/modules/website/manifests/php.pp	Sat Jan 24 16:20:10 2015 +0000
+++ b/modules/website/manifests/php.pp	Sat Feb 21 09:37:00 2015 +0000
@@ -17,6 +17,11 @@
     ensure => present,
     content => 'allow_url_fopen = \'off\'',
   }
+  ->
+  file { '/etc/php.d/custom-php.ini':
+    ensure => present,
+    content => 'default_charset = \'UTF-8\'',
+  }
 
   if $opcache {
     package { "php${suffix}-${opcache}":