1
0
Fork 0
mirror of https://gitlab.com/niansa/simpsh-httpd.git synced 2025-03-06 20:53:36 +01:00

Update htmlfilelist.sh

This commit is contained in:
niansa 2018-07-03 16:15:48 +00:00
parent 35e7706a70
commit 2fdc38a4dd

View file

@ -2,7 +2,7 @@
status="$URL"
# Statisches HTML
# Static HTML
echo '<html>
<head>
<title>'"${HTMLTITLE}"'</title>
@ -12,11 +12,11 @@ echo '<html>
<h2>Directory list:</h2><br />
<a href="../">..</a><br />' >> $HTMLFILE
# Erstelle Dateiliste im HTML-Format
# Creation of the filelist
for i in $( ls "${FILE}" ); do
echo ' <a href="./'"${i}"'">'"${i}"'</a><br />' >> $HTMLFILE
done
# Statisches HTML
# Static HTML
echo ' </body>
</html>' >> $HTMLFILE