possibility to define ERROR_LOG
This commit is contained in:
parent
abd84d0348
commit
f0e6d0d6cc
|
@ -1,2 +1,3 @@
|
|||
APP_DIR = "/var/lib/authentic"
|
||||
DATA_DIR = "/usr/share/authentic"
|
||||
ERROR_LOG = None
|
||||
|
|
|
@ -55,7 +55,8 @@ class AuthenticVHostPublisher(AuthenticPublisher):
|
|||
def create_publisher(publisher_class = AuthenticPublisher):
|
||||
publisher = publisher_class(RootDirectory(),
|
||||
session_cookie_name = 'authentic',
|
||||
session_cookie_path = '/')
|
||||
session_cookie_path = '/',
|
||||
error_log = ERROR_LOG)
|
||||
publisher.app_dir = APP_DIR
|
||||
if not os.path.exists(publisher.app_dir):
|
||||
os.mkdir(publisher.app_dir)
|
||||
|
|
Reference in New Issue