fixed loading or routes on winservice, thanks Stephen Tanner
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -138,12 +138,4 @@ def _():
|
|||||||
if DEVELOPMENT_MENU: _()
|
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)
|
|
||||||
|
|
||||||
|
|||||||
@@ -136,6 +136,8 @@ class Web2pyService(Service):
|
|||||||
path=options.folder
|
path=options.folder
|
||||||
)
|
)
|
||||||
try:
|
try:
|
||||||
|
from rewrite import load
|
||||||
|
load()
|
||||||
self.server.start()
|
self.server.start()
|
||||||
except:
|
except:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user