File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1376,7 +1376,7 @@ format_aliases() {
13761376}
13771377
13781378is_restart_format_valid () {
1379- if [ " $1 " != ' yes' ] && [ " $1 " != ' no' ] && [ " $1 " != ' ssl' ] && [ " $1 " != ' reload' ]; then
1379+ if [ " $1 " != ' yes' ] && [ " $1 " != ' no' ] && [ " $1 " != ' ssl' ] && [ " $1 " != ' reload' ] && [ " $1 " != ' updatessl ' ] ; then
13801380 check_result " $E_INVALID " " invalid $2 format :: $1 "
13811381 fi
13821382}
Original file line number Diff line number Diff line change 169169 $ v_ttl = escapeshellarg ($ _POST ['v_ttl ' ]);
170170 // Add dns record
171171 if (empty ($ _SESSION ['error_msg ' ])) {
172- exec (HESTIA_CMD ."v-add-dns-record " .$ user ." " .$ v_domain ." " .$ v_rec ." " .$ v_type ." " .$ v_val ." " .$ v_priority ." '' false " .$ v_ttl , $ output , $ return_var );
172+ exec (HESTIA_CMD ."v-add-dns-record " .$ user ." " .$ v_domain ." " .$ v_rec ." " .$ v_type ." " .$ v_val ." " .$ v_priority ." '' no " .$ v_ttl , $ output , $ return_var );
173173 check_return_code ($ return_var , $ output );
174174 unset($ output );
175175 }
Original file line number Diff line number Diff line change 162162 $ v_val = escapeshellarg ($ _POST ['v_val ' ]);
163163 $ v_priority = escapeshellarg ($ _POST ['v_priority ' ]);
164164 $ v_ttl = escapeshellarg ($ _POST ['v_ttl ' ]);
165- exec (HESTIA_CMD ."v-change-dns-record " .$ user ." " .$ v_domain ." " .$ v_record_id ." " .$ v_rec ." " .$ v_type ." " .$ v_val ." " .$ v_priority ." false " .$ v_ttl , $ output , $ return_var );
165+ exec (HESTIA_CMD ."v-change-dns-record " .$ user ." " .$ v_domain ." " .$ v_record_id ." " .$ v_rec ." " .$ v_type ." " .$ v_val ." " .$ v_priority ." no " .$ v_ttl , $ output , $ return_var );
166166 check_return_code ($ return_var , $ output );
167167 $ v_rec = $ _POST ['v_rec ' ];
168168 $ v_type = $ _POST ['v_type ' ];
You can’t perform that action at this time.
0 commit comments