update regarding os shell-ing regarding JSP and ASPX

This commit is contained in:
Miroslav Stampar
2010-11-16 13:46:46 +00:00
parent 6232397129
commit e7a66371f8
2 changed files with 24 additions and 18 deletions

View File

@@ -304,7 +304,7 @@ def getDocRoot(webApi=None):
pagePath = directoryPath(conf.path)
if kb.os == "Windows":
if webApi == "php":
if webApi in ("php", "jsp"):
defaultDocRoot = "C:/xampp/htdocs/"
else:
defaultDocRoot = "C:/Inetpub/wwwroot/"
@@ -361,7 +361,7 @@ def getDirs(webApi=None):
directories = set()
if kb.os == "Windows":
if webApi == "php":
if webApi in ("php", "jsp"):
defaultDirs = ["C:/xampp/htdocs/"]
else:
defaultDirs = ["C:/Inetpub/wwwroot/"]