summaryrefslogtreecommitdiff
path: root/framework/I18N/core/MessageSource_gettext.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/I18N/core/MessageSource_gettext.php')
-rw-r--r--framework/I18N/core/MessageSource_gettext.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/I18N/core/MessageSource_gettext.php b/framework/I18N/core/MessageSource_gettext.php
index c92577d4..6849987f 100644
--- a/framework/I18N/core/MessageSource_gettext.php
+++ b/framework/I18N/core/MessageSource_gettext.php
@@ -432,9 +432,9 @@ class MessageSource_gettext extends MessageSource
$dir = dirname($mo_file);
if(!is_dir($dir))
- {
+ {
@mkdir($dir);
- @chmod($dir,0777);
+ @chmod($dir,PRADO_CHMOD);
}
if(!is_dir($dir))
throw new TException("Unable to create directory $dir");