File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 154154
155155 // Add antivirs
156156 if (($ v_antivirus == 'no ' ) && (!empty ($ _POST ['v_antivirus ' ])) && (empty ($ _SESSION ['error_msg ' ]))) {
157- exec (HESTIA_CMD ."v-add-mail-domain-antivirus " .$ v_username ." " .$ escapeshellarg ($ v_domain ), $ output , $ return_var );
157+ exec (HESTIA_CMD ."v-add-mail-domain-antivirus " .$ v_username ." " .escapeshellarg ($ v_domain ), $ output , $ return_var );
158158 check_return_code ($ return_var ,$ output );
159159 $ v_antivirus = 'yes ' ;
160160 unset($ output );
161161 }
162162
163163 // Delete DKIM
164164 if (($ v_dkim == 'yes ' ) && (empty ($ _POST ['v_dkim ' ])) && (empty ($ _SESSION ['error_msg ' ]))) {
165- exec (HESTIA_CMD ."v-delete-mail-domain-dkim " .$ v_username ." " .$ escapeshellarg ($ v_domain ), $ output , $ return_var );
165+ exec (HESTIA_CMD ."v-delete-mail-domain-dkim " .$ v_username ." " .escapeshellarg ($ v_domain ), $ output , $ return_var );
166166 check_return_code ($ return_var ,$ output );
167167 $ v_dkim = 'no ' ;
168168 unset($ output );
169169 }
170170
171171 // Add DKIM
172172 if (($ v_dkim == 'no ' ) && (!empty ($ _POST ['v_dkim ' ])) && (empty ($ _SESSION ['error_msg ' ]))) {
173- exec (HESTIA_CMD ."v-add-mail-domain-dkim " .$ v_username ." " .$ escapeshellarg ($ v_domain ), $ output , $ return_var );
173+ exec (HESTIA_CMD ."v-add-mail-domain-dkim " .$ v_username ." " .escapeshellarg ($ v_domain ), $ output , $ return_var );
174174 check_return_code ($ return_var ,$ output );
175175 $ v_dkim = 'yes ' ;
176176 unset($ output );
You can’t perform that action at this time.
0 commit comments