We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0235ff commit bf2b567Copy full SHA for bf2b567
web/edit/server/spamd/index.php
@@ -30,7 +30,7 @@
30
$new_conf = $mktemp_output[0];
31
$fp = fopen($new_conf, 'w');
32
fwrite($fp, str_replace("\r\n", "\n", $_POST['v_config']));
33
- fclose($new_conf);
+ fclose($fp);
34
exec (VESTA_CMD."v-change-sys-service-config ".$new_conf." spamd ".$v_restart, $output, $return_var);
35
check_return_code($return_var,$output);
36
unset($output);
0 commit comments