moving the cache file translation.es location in ./workflow/engine/content/translation to shared directory to solve the problem in balanced environments and write permissions

This commit is contained in:
Erik Amaru Ortiz
2010-12-23 22:30:39 +00:00
parent b575d9098c
commit 4792ab0512
8 changed files with 53 additions and 23 deletions

View File

@@ -113,21 +113,18 @@
case 'getLangList':
require_once 'classes/model/Translation.php';
$Translations = G::getModel('Translation');
$result = new stdClass();
$result->rows = Array();
$langs = Translation::getTranslationEnvironments();
$langs = $Translations->getTranslationEnvironments();
foreach($langs as $lang){
$result->rows[] = Array('LAN_ID'=>$lang['LOCALE'], 'LAN_NAME'=>$lang['LANGUAGE']);
}
//print_r($langs);
//$result->rows = $lang->getActiveLanguages();
print(G::json_encode($result));
break;
case 'build':
$sqlToExe = Array();
G::LoadClass('configuration');