summaryrefslogtreecommitdiff
path: root/framework/I18N/core/MessageSource_XLIFF.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/I18N/core/MessageSource_XLIFF.php')
-rw-r--r--framework/I18N/core/MessageSource_XLIFF.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/framework/I18N/core/MessageSource_XLIFF.php b/framework/I18N/core/MessageSource_XLIFF.php
index 15af971a..7f2f27c5 100644
--- a/framework/I18N/core/MessageSource_XLIFF.php
+++ b/framework/I18N/core/MessageSource_XLIFF.php
@@ -481,6 +481,7 @@ class MessageSource_XLIFF extends MessageSource
if(!is_dir($dir))
throw new TException("Unable to create directory $dir");
file_put_contents($file, $this->getTemplate($catalogue));
+ chmod($file, 0777);
return array($variant, $file);
}