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:
parent
35e7706a70
commit
2fdc38a4dd
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue