Merged in jennydmz/processmaker (pull request #1212)
PM-968 2nd estructure en Nuevas instalaciones
This commit is contained in:
@@ -373,6 +373,7 @@ class Configurations // extends Configuration
|
||||
*/
|
||||
public function getFormats()
|
||||
{
|
||||
$this->UserConfig = array();
|
||||
if (!isset($this->UserConfig)) {
|
||||
$this->UserConfig = $this->getConfiguration("ENVIRONMENT_SETTINGS", "");
|
||||
}
|
||||
|
||||
@@ -928,24 +928,6 @@ class Installer extends Controller
|
||||
}
|
||||
}
|
||||
|
||||
//2nd STRUCTURE
|
||||
$this->initPropel(true);
|
||||
G::LoadClass("configuration");
|
||||
$conf = new Configurations();
|
||||
if (!$conf->exists("ENVIRONMENT_SETTINGS")) {
|
||||
$conf->aConfig = array ("format" => '@userName (@firstName @lastName)',
|
||||
"dateFormat" => 'd/m/Y',
|
||||
"startCaseHideProcessInf" => false,
|
||||
"casesListDateFormat" => 'Y-m-d H:i:s',
|
||||
"casesListRowNumber" => 25,
|
||||
"casesListRefreshTime" => 120 );
|
||||
$conf->saveConfig( 'ENVIRONMENT_SETTINGS', '' );
|
||||
}
|
||||
$conf->setDirectoryStructureVer(2);
|
||||
//$this->installLog( G::LoadTranslation('ID_INDEX_FILE_UPDATED', SYS_LANG, Array($indexFileUpdated, $sysConf['default_lang'],$sysConf['default_skin'])));
|
||||
//CLI::logging(CLI::info("Version Directory Structure is 2 now.\n"));
|
||||
|
||||
|
||||
$this->installLog( G::LoadTranslation('ID_INDEX_FILE_UPDATED', SYS_LANG, Array($indexFileUpdated, $sysConf['default_lang'],$sysConf['default_skin'])));
|
||||
$this->installLog( G::LoadTranslation('ID_INSTALL_SUCESS') );
|
||||
|
||||
|
||||
@@ -59753,3 +59753,5 @@ INSERT INTO DASHLET_INSTANCE (DAS_INS_UID,DAS_UID,DAS_INS_OWNER_TYPE,DAS_INS_OWN
|
||||
('00000000000000000000000000000003','00000000000000000000000000000003','EVERYBODY','','','2011-12-05 00:00:00','2011-12-05 00:00:00',1),
|
||||
('00000000000000000000000000000004','00000000000000000000000000000004','EVERYBODY','','a:2:{s:13:"DAS_INS_TITLE";s:15:"PM Plugins News";s:7:"DAS_URL";s:71:"http://license.processmaker.com/syspmLicenseSrv/en/green/services/rssAP";}','2012-04-16 00:00:00','2012-04-16 00:00:00',1);
|
||||
|
||||
INSERT INTO CONFIGURATION (CFG_UID,OBJ_UID,CFG_VALUE,PRO_UID,USR_UID,APP_UID) VALUES
|
||||
('ENVIRONMENT_SETTINGS','','a:1:{s:18:"directoryStructure";i:2;}','','','');
|
||||
|
||||
Reference in New Issue
Block a user