summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-09-12 16:02:54 -0400
committerMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-09-12 16:02:54 -0400
commit1d215c67c7404d37ca833acdcfe75b1bd515b592 (patch)
treed9483f546a650a9f696b41a3696a88af2bd0dbe0 /scripts
parent27e40ba1ab0412e7d47a8858193120d766841587 (diff)
downloadthird_party-cobbler-1d215c67c7404d37ca833acdcfe75b1bd515b592.tar.gz
third_party-cobbler-1d215c67c7404d37ca833acdcfe75b1bd515b592.tar.xz
third_party-cobbler-1d215c67c7404d37ca833acdcfe75b1bd515b592.zip
Adding additional exception handling and logging to WebUI.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/cobbler_webui.cgi3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/cobbler_webui.cgi b/scripts/cobbler_webui.cgi
index 4c086c4..4edaa62 100755
--- a/scripts/cobbler_webui.cgi
+++ b/scripts/cobbler_webui.cgi
@@ -35,6 +35,9 @@ def base_url():
return os.environ.get('SCRIPT_NAME', '')
def main():
+
+ cgitb.enable()
+
print "Content-type: text/html"
print