fixed loading or routes on winservice, thanks Stephen Tanner

This commit is contained in:
Massimo
2013-04-12 10:31:55 -05:00
parent 7b0cf5bc12
commit 7d53ec6d71
3 changed files with 3 additions and 9 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.4.6-stable+timestamp.2013.04.10.22.14.20
Version 2.4.6-stable+timestamp.2013.04.12.10.30.59
-8
View File
@@ -138,12 +138,4 @@ def _():
if DEVELOPMENT_MENU: _()
#########################################################################
## This adds the wiki menu to any action if specified in wiki settings.
#########################################################################
if "auth" in locals():
if auth.settings.wiki.controller and auth.settings.wiki.function:
auth.wiki(controller=auth.settings.wiki.controller,
function=auth.settings.wiki.function)
+2
View File
@@ -136,6 +136,8 @@ class Web2pyService(Service):
path=options.folder
)
try:
from rewrite import load
load()
self.server.start()
except: