Merge branch 'master' of git://github.com/colosa/processmaker into BUG-0000
This commit is contained in:
@@ -941,6 +941,7 @@ function copyMoveAction($type)
|
||||
$itemField["triggerAction"] = "all";
|
||||
$itemField["store"] = $folderResult;
|
||||
$itemField["valueField"] = "FOLDER_UID";
|
||||
$itemField["editable"] = false;
|
||||
$itemField["displayField"] = "FOLDER_NAME";
|
||||
$itemField["selectOnFocus"] = true;
|
||||
$itemField["tpl"] = '<tpl for="."><div ext:qtip="{field2}" class="x-combo-list-item">{field2}</div></tpl>';
|
||||
|
||||
@@ -97,6 +97,12 @@ try {
|
||||
);
|
||||
$configuration->saveConfig( 'LANGUAGE_META', $importResults->lang );
|
||||
|
||||
$dir = PATH_CORE . 'content' . PATH_SEP . 'translations' . PATH_SEP;
|
||||
if (! is_writable( $dir )) {
|
||||
throw new Exception( G::LoadTranslation( 'ID_TRANSLATIONS_FOLDER_PERMISSIONS' ) );
|
||||
}
|
||||
G::uploadFile($languageFile, $dir, $languageFilename, 0777);
|
||||
|
||||
ini_set( 'max_execution_time', $sMaxExecutionTime );
|
||||
|
||||
} catch (Exception $oError) {
|
||||
|
||||
Reference in New Issue
Block a user