| | |
| | | $command = 'chmod 755 /var/run/authdaemon.courier-imap'; |
| | | caselog($command.' &> /dev/null', __FILE__, __LINE__, 'EXECUTED: '.$command, 'Failed to execute the command '.$command); |
| | | |
| | | //* Changing maildrop lines in posfix master.cf |
| | | //* Changing maildrop lines in posfix master.cf |
| | | if(is_file($config_dir.'/master.cf')){ |
| | | copy($config_dir.'/master.cf', $config_dir.'/master.cf~'); |
| | | } |
| | |
| | | $content = str_replace('{language}', $conf['language'], $content); |
| | | $content = str_replace('{timezone}', $conf['timezone'], $content); |
| | | $content = str_replace('{theme}', $conf['theme'], $content); |
| | | $content = str_replace('{language_file_import_enabled}', ($conf['language_file_import_enabled'] == true)?'true':'false', $content); |
| | | |
| | | wf("$install_dir/interface/lib/$configfile", $content); |
| | | |
| | |
| | | $content = str_replace('{language}', $conf['language'], $content); |
| | | $content = str_replace('{timezone}', $conf['timezone'], $content); |
| | | $content = str_replace('{theme}', $conf['theme'], $content); |
| | | $content = str_replace('{language_file_import_enabled}', ($conf['language_file_import_enabled'] == true)?'true':'false', $content); |
| | | |
| | | wf("$install_dir/server/lib/$configfile", $content); |
| | | |