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:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user