summaryrefslogtreecommitdiff
path: root/cgi
diff options
context:
space:
mode:
Diffstat (limited to 'cgi')
-rwxr-xr-xcgi/cgi6
1 files changed, 6 insertions, 0 deletions
diff --git a/cgi/cgi b/cgi/cgi
index a3bee95..a9c0310 100755
--- a/cgi/cgi
+++ b/cgi/cgi
@@ -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