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
ada0dfff68
commit
4fe554144d
1 changed files with 2 additions and 2 deletions
|
@ -10,11 +10,11 @@ echo '<html>
|
|||
<body>
|
||||
<p>'"$status"'</p>
|
||||
<h2>Directory list:</h2><br />
|
||||
<a href="'"${WEBSITE}${URL}/../"'">..</a><br />' >> $HTMLFILE
|
||||
<a href="../">..</a><br />' >> $HTMLFILE
|
||||
|
||||
# Erstelle Dateiliste im HTML-Format
|
||||
for i in $( ls "${FILE}" ); do
|
||||
echo ' <a href="'"${WEBSITE}${URL}/${i}"'">'"${i}"'</a><br />' >> $HTMLFILE
|
||||
echo ' <a href="./'"${i}"'">'"${i}"'</a><br />' >> $HTMLFILE
|
||||
done
|
||||
|
||||
# Statisches HTML
|
||||
|
|
Loading…
Add table
Reference in a new issue