Show clearnet domain section only if enabled
This commit is contained in:
@ -254,6 +254,7 @@ if($count_onions<MAX_NUM_USER_ONIONS){
|
||||
echo '</label></td><td><button type="submit" name="action" value="add_onion">Add onion</button></td></tr></form>';
|
||||
}
|
||||
echo '</table>';
|
||||
if(MAX_NUM_USER_DOMAINS>0){
|
||||
echo '<h3>Clearnet domains</h3>';
|
||||
echo '<table border="1">';
|
||||
echo '<tr><th>Domain</th><th>Enabled</th><th>Action</th></tr>';
|
||||
@ -284,6 +285,7 @@ if($count_domains<MAX_NUM_USER_DOMAINS){
|
||||
}
|
||||
echo '</table>';
|
||||
echo '<p>To enable your clearnet domain, edit your DNS settings and enter 116.202.17.147 as your A record and 2a01:4f8:c010:d56::1 as your AAAA record. Once you have modified your DNS settings, <a href="https://danwin1210.me/contact.php" target="_blank">contact me</a> to configure the SSL certificate. You may also use any subdomain of danwin1210.me, like yoursite.danwin1210.me</p>';
|
||||
}
|
||||
echo '<h3>MySQL Database</h3>';
|
||||
echo '<table border="1">';
|
||||
echo '<tr><th>Database</th><th>Host</th><th>User</th><th>Action</th></tr>';
|
||||
|
Reference in New Issue
Block a user