Skip to content

Commit c08601c

Browse files
author
thom
committed
Show clear example of function
1 parent 1ccff14 commit c08601c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

interface/web/dns/dns_edit_base.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,12 @@ function onSubmit() {
113113
}
114114
} // end if user is not admin
115115

116-
//* Replace @ to domain name
116+
// Replace @ to example.com.
117117
if(stristr($this->dataRecord["name"], '@')) {
118118
$this->dataRecord["name"] = str_replace('@', $soa['origin'], $this->dataRecord["name"]);
119119
}
120120

121-
//* Replace * to *.example.com.
121+
// Replace * to *.example.com.
122122
if(stristr($this->dataRecord["name"], '*')) {
123123
$this->dataRecord["name"] = str_replace('*', '*.' . $soa['origin'], $this->dataRecord["name"]);
124124
}

0 commit comments

Comments
 (0)