Module: check_mk
Branch: master
Commit: af519f643f8caac3c1bcbd8b316816c221e31618
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=af519f643f8caa…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Sat Nov 6 17:54:02 2010 +0100
Fix python path for local hierarchy
---
web/htdocs/index.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/web/htdocs/index.py b/web/htdocs/index.py
index 27c781b..ea6be93 100644
--- a/web/htdocs/index.py
+++ b/web/htdocs/index.py
@@ -37,6 +37,7 @@ for fn in os.listdir(pagehandlers_dir):
execfile(pagehandlers_dir + "/" + fn)
if defaults.omd_root:
sys.path.append(defaults.omd_root + "/local/share/check_mk/web/htdocs")
+ sys.path.append(defaults.web_dir + "/htdocs")
local_pagehandlers_dir = defaults.omd_root +
"/local/share/check_mk/web/plugins/pages"
if os.path.exists(local_pagehandlers_dir):
for fn in os.listdir(local_pagehandlers_dir):