فهرست منبع

[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);