From c927f9343001b456c1fa25dc541c3f1b005510f8 Mon Sep 17 00:00:00 2001 From: wei <> Date: Sat, 5 Aug 2006 03:42:04 +0000 Subject: Fixed #278 --- framework/I18N/core/MessageSource_XLIFF.php | 1 + 1 file changed, 1 insertion(+) (limited to 'framework/I18N/core/MessageSource_XLIFF.php') 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); } -- cgit v1.2.3