tbrehm
2012-01-23 6e6b81a7f9a8e6b5f308cb841d4b38fc0605991b
Fixed: FS#1994 - ISPConfig webportal resets mailman default settings
1 files modified
6 ■■■■ changed files
server/plugins-available/mailman_plugin.inc.php 6 ●●●● patch | view | raw | blame | history
server/plugins-available/mailman_plugin.inc.php
@@ -113,7 +113,11 @@
        $server_config = $app->getconf->get_server_config($conf['server_id'], 'server');
        
        // load files
        $content = file_get_contents($conf["rootpath"]."/conf/mm_cfg.py.master");
        if(file_exists($conf["rootpath"]."/conf/mm_cfg.py.master")) {
            $content = file_get_contents($conf["rootpath"]."/conf-custom/mm_cfg.py.master");
        } else {
            $content = file_get_contents($conf["rootpath"]."/conf/mm_cfg.py.master");
        }
        $old_file = file_get_contents($this->mailman_config_dir."/mm_cfg.py");
        
        $old_options = array();