Module: check_mk
Branch: master
Commit: bbd12610b3ac669c82fad61870be03398ddda8a3
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=bbd12610b3ac66…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon Jan 27 11:44:32 2014 +0100
WATO: Fixed warning about g_folder in Apache logfile
---
web/htdocs/wato.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index bd729ce..cbce322 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -827,11 +827,12 @@ def get_folder_aliaspath(folder, show_main = True):
# '----------------------------------------------------------------------'
def mode_folder(phase):
+ global g_folder
+
auth_message = check_folder_permissions(g_folder, "read", False)
auth_read = auth_message == True
auth_write = check_folder_permissions(g_folder, "write", False) == True
- global g_folder
if phase == "title":
return g_folder["title"]