Commit f3b879d1 authored by mh's avatar mh
Browse files

enforce contact to be a sender if set and wwwmail enabled

parent 6ee45796
......@@ -106,6 +106,9 @@ define webhosting::php::mediawiki(
$mediawiki_php_settings = {
open_basedir => "/var/www/mediawiki:/var/www/vhosts/${name}/www:/var/www/upload_tmp_dir/${name}:/var/www/session.save_path/${name}",
if $wwwmail and ($contact != 'unmanaged'){
$mediawiki_php_settings['sendmail_path']="/usr/sbin/sendmail -t -f${contact} -i"
$real_php_settings = merge($mediawiki_php_settings,$php_settings)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment