define error_log

This commit is contained in:
Frédéric Péters 2006-03-27 13:35:18 +00:00
parent b1c098e395
commit 937f88cd08
2 changed files with 3 additions and 1 deletions

View File

@ -1,2 +1,3 @@
APP_DIR = "/var/lib/wcs"
DATA_DIR = "/usr/share/wcs"
ERROR_LOG = None

View File

@ -119,7 +119,8 @@ class WcsVHostPublisher(WcsPublisher):
def create_publisher(publisher_class = WcsPublisher):
publisher = publisher_class(RootDirectory(),
session_cookie_name = 'wcs',
session_cookie_path = '/')
session_cookie_path = '/',
error_log = ERROR_LOG)
publisher.app_dir = APP_DIR
publisher.data_dir = DATA_DIR
if not os.path.exists(publisher.app_dir):