File: pyblosxom.cgi-path-config-fix.patch

package info (click to toggle)
pyblosxom 1.2-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 452 kB
  • ctags: 237
  • sloc: python: 1,688; makefile: 16
file content (12 lines) | stat: -rw-r--r-- 476 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
--- web/pyblosxom.cgi	2004-02-20 00:54:36.000000000 +0100
+++ pyblosxom.cgi.stone	2004-04-13 10:46:49.000000000 +0200
@@ -8,6 +8,9 @@ Blosxom details.
 
 # Settings are now in config.py, you should disable access to it by htaccess
 # (make it executable or deny access)
+# Modified for Debian by Fredrik Steen <stone@debian.org>
+import sys
+sys.path.append('/etc/pyblosxom/')
 from config import py as cfg
 
 # If the user defined a "codebase" property in their config file,