This commit is contained in:
Miroslav Stampar 2010-02-25 16:38:39 +00:00
parent 0913d700a8
commit d95a8850c8

View File

@ -249,6 +249,10 @@ def getDocRoot(webApi=None):
index = absFilePath.index(pagePath)
docRoot = absFilePath[:index]
if len(docRoot) == 0:
docRoot = None
continue
if absFilePathWin:
docRoot = "C:/%s" % ntToPosixSlashes(docRoot)