浏览代码

[svn r14984] oogie : use more universal locale (temporary solution I guess) FS#2477

Eric Marguin 17 年之前
父节点
当前提交
abc825e7a8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      main/newscorm/openoffice_document.class.php

+ 1 - 1
main/newscorm/openoffice_document.class.php

@@ -82,7 +82,7 @@ abstract class OpenofficeDocument extends learnpath {
 		chmod ($this->base_work_dir.$this->created_dir,0777);
 		chmod($this->base_work_dir.'/'.$this->file_path,0777);
 		
-		$locale = 'fr_FR.UTF-8';
+		$locale = 'en_US.UTF-8'; // TODO : improve it because we're not sure this locale is present everywhere
 		putenv('LC_ALL='.$locale);
 		$shell = exec($cmd, $files, $return);