|
@@ -123,6 +123,7 @@ site_id set to None when we are in MULTISITE beahavior")
|
123
|
123
|
self.__class__._current = self.__class__._contexts = self
|
124
|
124
|
self.__pkg_name = 'lodel'
|
125
|
125
|
self.__package = lodel
|
|
126
|
+ self.__instance_path = os.getcwd()
|
126
|
127
|
return
|
127
|
128
|
else:
|
128
|
129
|
#Multisite instanciation
|
|
@@ -145,6 +146,7 @@ instance path")
|
145
|
146
|
"""
|
146
|
147
|
warnings.warn("It can be a really BAD idea to create a \
|
147
|
148
|
a context without a path......")
|
|
149
|
+ self.__instance_path = None
|
148
|
150
|
else:
|
149
|
151
|
self.__instance_path = os.path.realpath(instance_path)
|
150
|
152
|
#Importing the site package to trigger its creation
|