Make config more robust

This commit is contained in:
Clortox
2021-01-04 19:18:26 -05:00
parent 610e15a68c
commit 187501c286
3 changed files with 52 additions and 10 deletions

View File

@@ -12,17 +12,18 @@
$saying = $convo[rand(0,count($convo)-1)];
echo '<p>' . $clientip . $saying . $serverip . '</p>';
}
if($isNav){
echo '<nav class="navbar navbar-expand-lg
navbar-dark border border-secondary">';
foreach($nav_names as $index=>$name){
echo '<a class="navbar-brand" href="' . $nav_links[$index] . '">'
. $name . '</a>';
}
echo '</nav>';
}
?>
<nav class="navbar navbar-expand-lg navbar-dark border border-secondary">
<?php
foreach($nav_names as $index=>$name){
echo '<a class="navbar-brand" href="' . $nav_links[$index] . '">'
. $name . '</a>';
}
?>
</nav>
</div>
</header>