more links, better listing

This commit is contained in:
2015-06-12 13:04:33 +03:00
parent 47d2497ec0
commit 1c19788c8d
2 changed files with 8 additions and 2 deletions

View File

@@ -16,6 +16,12 @@
<h3>For Teachers</h3>
<p>Teachers can visit the internal shared files (password protected). Please visit <a href="/teachers">this website</a>.<p>
<h3>Important Links</h3>
<ul>
<li><a href="http://pma.mit.tareo-tz.org">phpMyAdmin</a> - Administrate your MySQL database</li>
<li><a href="http://www.tareo-tz.org">Website of TAREO</a> - Tanzania Rural Empowerment Organization which is running MIT</li>
</ul>
</body>
</html>

View File

@@ -11,7 +11,7 @@ find /var/www/* -maxdepth 0 -type d -print0 | while IFS= read -r -d $'\0' line;
USER=$(basename $line)
DOMAIN="$USER.$DOMAINROOT"
if [ ! "$USER" == "html" ]; then
if [ ! "$USER" == "html" ] && [ ! "$USER" == "pma" ]; then
echo "<li><a href=\"http://$DOMAIN\">$DOMAIN</a></li>" >> $WEBDIR/websites.txt
fi