Fix a path issue.

This commit is contained in:
Greg Taylor 2009-01-30 06:35:50 +00:00
parent fb4c50b647
commit 9c1dc0a62c

View file

@ -1,8 +1,7 @@
import os, sys
# Calculate the path based on the location of the WSGI script.
apache_configuration= os.path.dirname(__file__)
web_dir = os.path.dirname(apache_configuration)
web_dir = os.path.dirname(__file__)
workspace = os.path.dirname(os.path.dirname(web_dir))
sys.path.insert(0, workspace)