Changeset 8091
- Timestamp:
- 04/15/13 11:14:04 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/workflow/inc/class.Logger.inc.php
r3167 r8091 29 29 30 30 /** 31 * @var object $db Objeto de banco de dados do modulo workflow 32 * @access private 33 */ 34 private $dbGalaxia = null; 35 36 /** 31 37 * @var string $logPath Caminho onde será salvo o arquivo de log, caso o tipo de log Log_file seja adicionado à composição 32 38 * @access private … … 81 87 82 88 $this->db =& Factory::getInstance('WorkflowObjects')->getDBExpresso()->Link_ID; 89 $this->dbGalaxia =& Factory::getInstance('WorkflowObjects')->getDBGalaxia()->Link_ID; 83 90 84 91 if(!empty($curProcessName)){ 92 85 93 $query = ' 86 94 SELECT … … 89 97 egw_wf_processes'; 90 98 91 if(!($result = $this->db ->query($query)))99 if(!($result = $this->dbGalaxia->query($query))) 92 100 throw new Exception(lang('Cannot execute query')); 93 101 … … 131 139 wf_config_name like 'log_level' 132 140 "; 133 $config_value = array_pop($this->db ->query($query)->GetArray(-1));141 $config_value = array_pop($this->dbGalaxia->query($query)->GetArray(-1)); 134 142 $this->logLevel = $config_value['wf_config_value_int']; 135 143 } else {
Note: See TracChangeset
for help on using the changeset viewer.