logfile is accessable via web

This commit is contained in:
age 2006-08-24 08:13:56 +00:00
parent 707fb71476
commit 89e06ff669
2 changed files with 5 additions and 0 deletions

View file

@ -39,6 +39,8 @@ class CryptoBoxWebserverSites(CryptoBox.CryptoBoxProps, CryptoBoxWebserverSettin
'''be careful to name this method just "log" seems to be a
reserved word'''
self.__prepare("show_log")
import filehandling
self.settings["Data.Log"] = filehandling.read_file(self.settings["Settings.Details"])
return website.render(self)
def status(self):