ftimme
2012-04-09 accfe5ed9238e8dba04ab2524fbc69cf3295739a
- Fixed FS#2099.
1 files modified
5 ■■■■■ changed files
server/plugins-available/apache2_plugin.inc.php 5 ●●●●● patch | view | raw | blame | history
server/plugins-available/apache2_plugin.inc.php
@@ -709,6 +709,11 @@
        $vhost_data['ssl_domain'] = $data['new']['ssl_domain'];
        $vhost_data['has_custom_php_ini'] = $has_custom_php_ini;
        $vhost_data['custom_php_ini_dir'] = escapeshellcmd($custom_php_ini_dir);
        // Custom Apache directives
        // Make sure we only have Unix linebreaks
        $vhost_data['apache_directives'] = str_replace("\r\n", "\n", $vhost_data['apache_directives']);
        $vhost_data['apache_directives'] = str_replace("\r", "\n", $vhost_data['apache_directives']);
        // Check if a SSL cert exists
        $ssl_dir = $data['new']['document_root'].'/ssl';