Added debug option on l-h.cgi cgi.

This commit is contained in:
Richard Nelson 2010-03-14 12:07:15 -05:00 committed by Daniel Baumann
parent d1eb25959a
commit 773b60ef51
1 changed files with 6 additions and 0 deletions

View File

@ -16,6 +16,12 @@ else
exit 1
fi
# Turn on debug if enabled
if [ "${_DEBUG}" = "enabled" ]
then
set -x
fi
# Sending http header
echo "Content-type: text/html"
echo