BUG-8665 32K Issue - Maximum of folder in shared/sites/files IMPROVEMENT
- No se modificaba la estructura porque no se tenia seteado la variable ENVIRONMENT_SETTINGS. - Se modifico la funcion upgradeCasesDirectoryStructure para que cree la variable si no existe. - Se movio la funcion upgradeCasesDirectoryStructure para que sea independiente al realizar el upgrade. - se creo la funcion update-structure-directories para ejecutar por consola teniendo como parametro el workspace.
This commit is contained in:
@@ -36,10 +36,15 @@ switch ($request) {
|
||||
break;
|
||||
case "save":
|
||||
$conf = new Configurations();
|
||||
$config = $conf->getConfiguration("ENVIRONMENT_SETTINGS", "" );
|
||||
$config['format'] = $_POST["userFormat"];
|
||||
$config['dateFormat'] = $_POST["dateFormat"];
|
||||
$config['startCaseHideProcessInf'] = ((isset( $_POST["hideProcessInf"] )) ? true : false);
|
||||
$config['casesListDateFormat'] = $_POST["casesListDateFormat"];
|
||||
$config['casesListRowNumber'] = intval( $_POST["casesListRowNumber"] );
|
||||
$config['casesListRefreshTime'] = intval( $_POST["txtCasesRefreshTime"]);
|
||||
|
||||
$conf->aConfig = array ("format" => $_POST["userFormat"],"dateFormat" => $_POST["dateFormat"],"startCaseHideProcessInf" => ((isset( $_POST["hideProcessInf"] )) ? true : false),"casesListDateFormat" => $_POST["casesListDateFormat"],"casesListRowNumber" => intval( $_POST["casesListRowNumber"] ),"casesListRefreshTime" => intval( $_POST["txtCasesRefreshTime"] )
|
||||
);
|
||||
|
||||
$conf->aConfig = $config;
|
||||
$conf->saveConfig( "ENVIRONMENT_SETTINGS", "" );
|
||||
|
||||
$response = new stdclass();
|
||||
|
||||
Reference in New Issue
Block a user