diff options
| author | Luke Bratch <luke@bratch.co.uk> | 2019-01-10 20:52:23 +0000 |
|---|---|---|
| committer | Luke Bratch <luke@bratch.co.uk> | 2019-01-10 20:52:23 +0000 |
| commit | fcc553d8d84d9505f4b193da54c6b7806fb561e8 (patch) | |
| tree | 6fdbf673484dd2a4228c7fb9df6a8d8a8942ef19 | |
| parent | 5b1e9636979b587193250d4dbb2a708a288b27c1 (diff) | |
Fix some comments
| -rw-r--r-- | dns.php | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -119,7 +119,7 @@ function writezone($domain, $zonetext, $password = null) { echo "<p>Zone file will load, but check below for possible warnings:</p><pre>$zonecheck</pre>"; } - // Reload the zone if we got this far + // Write out the real zone file $zonewrite = sshrun("echo -en \"$zonetext\" > " . ZONEROOT . "$domain" . ZONESUFFIX . " && echo $? || echo $?"); // Remove any trailing newlines from the returned string @@ -133,6 +133,7 @@ function writezone($domain, $zonetext, $password = null) { die(); } + // Reload the zone if we got this far sshrun("rndc reload $domain"); } |
