Update tandc.php

This commit is contained in:
codepoet authored and GitHub committed 2023-03-18 13:19:51 -04:00
1 parent ef02e5a161
commit 14832df079
1 file changed
+3 -4
+3 -4
View File
@@ -7,9 +7,8 @@ $config = include('config.php');
echo "<li><i>This server allows you to share up to " . $config['maxsharelength'] . " items per share space.</i></li>";
}
if (isset($config['termsandconditions'])) {
while (list($key, $val) = each($config['termsandconditions']))
{
echo "<li>$val</li>";
foreach ($config['termsandconditions'] as $key => $val) {
echo "<li>$val</li>";
}
} else {
echo "Administrator: you can define your terms and conditions by creating a config.php file -- use the config-example.php as a reference.";
@@ -22,4 +21,4 @@ $config = include('config.php');
echo "</i></li>";
}
?>
</ul>
</ul>