fixed issue 1174, cache folder in examples
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 2.2.1 (2012-11-24 10:58:12) stable
|
Version 2.2.1 (2012-11-24 11:06:30) stable
|
||||||
|
|||||||
+4
-3
@@ -189,9 +189,10 @@ def app_create(app, request, force=False, key=None, info=False):
|
|||||||
return False
|
return False
|
||||||
try:
|
try:
|
||||||
w2p_unpack('welcome.w2p', path)
|
w2p_unpack('welcome.w2p', path)
|
||||||
for subfolder in ['models', 'views', 'controllers', 'databases',
|
for subfolder in [
|
||||||
'modules', 'cron', 'errors', 'sessions',
|
'models', 'views', 'controllers', 'databases',
|
||||||
'languages', 'static', 'private', 'uploads']:
|
'modules', 'cron', 'errors', 'sessions', 'cache',
|
||||||
|
'languages', 'static', 'private', 'uploads']:
|
||||||
subpath = os.path.join(path, subfolder)
|
subpath = os.path.join(path, subfolder)
|
||||||
if not os.path.exists(subpath):
|
if not os.path.exists(subpath):
|
||||||
os.mkdir(subpath)
|
os.mkdir(subpath)
|
||||||
|
|||||||
Reference in New Issue
Block a user