xmpp-invitation-page/invitation.cgi

15 lines
203 B
Plaintext
Raw Normal View History

2021-07-11 11:54:18 +02:00
#! /bin/sh
USERNAME=$(basename ${REQUEST_URI})
echo "Content-type: text/html"
echo ""
#echo -n "<pre>" ; env ; echo "</pre>" # DEBUG
cat index.html.tpl | sed "s/{{username}}/${USERNAME}/g"
exit 0