summaryrefslogtreecommitdiff
path: root/framework/I18N/TGlobalization.php
diff options
context:
space:
mode:
authorxue <>2007-01-17 22:26:53 +0000
committerxue <>2007-01-17 22:26:53 +0000
commitcd236d693d1df3e20c370c97a98c51ba3fcbd610 (patch)
tree4b84a25cc06db000420b75f2ce1f390246869662 /framework/I18N/TGlobalization.php
parent74acb5d2a4426cb4ae7f0fdd86e23c1459813a60 (diff)
Added PRADO_CHMOD constant so that users can specify the permission of PRADO-created directories
Diffstat (limited to 'framework/I18N/TGlobalization.php')
-rw-r--r--framework/I18N/TGlobalization.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/I18N/TGlobalization.php b/framework/I18N/TGlobalization.php
index 90fd3d53..c2a4f5ed 100644
--- a/framework/I18N/TGlobalization.php
+++ b/framework/I18N/TGlobalization.php
@@ -177,7 +177,7 @@ class TGlobalization extends TModule
if(@mkdir($config['source'])===false)
throw new TConfigurationException('globalization_source_path_failed',
$config['source']);
- chmod($config['source'], 0777); //make it deletable
+ chmod($config['source'], PRADO_CHMOD); //make it deletable
}
}
else
@@ -193,7 +193,7 @@ class TGlobalization extends TModule
if(@mkdir($config['cache'])===false)
throw new TConfigurationException('globalization_cache_path_failed',
$config['cache']);
- chmod($config['cache'], 0777); //make it deletable
+ chmod($config['cache'], PRADO_CHMOD); //make it deletable
}
}
$this->_translation = $config;