Allow retrieving the script path
[geekigeeki.git] / geekigeeki.conf.py
index ab0e4309f2a7c59f527605db20b481c496264912..26e9a30866174962d9ef93d444f4a89d2d8c8b41 100644 (file)
@@ -32,7 +32,7 @@ link_urls = [
 
 history_url = '../wikigit/wiki.git'
 
-post_edit_hook = './post_edit_hook.sh'
+post_edit_hook = os.path.join(script_path(), 'post_edit_hook.sh')
 
 datetime_fmt = '%a, %d %b %Y %H:%M:%S %Z'
 
@@ -43,4 +43,4 @@ nonexist_pfx = ''
 image_maxwidth = 400
 
 # Set to True for CGI var dump
-#debug_cgi = True
+debug_cgi = False