fixed not working infolog-global configuration:

no more serialize/unserialize of arrays needed
This commit is contained in:
Ralf Becker 2002-11-05 16:00:01 +00:00
parent c4318f11af
commit db368a186d
2 changed files with 4 additions and 4 deletions

View File

@ -88,8 +88,8 @@
if ($this->config->config_data)
{
$this->link_pathes = unserialize($this->config->config_data['link_pathes']);
$this->send_file_ips = unserialize($this->config->config_data['send_file_ips']);
$this->link_pathes = $this->config->config_data['link_pathes'];
$this->send_file_ips = $this->config->config_data['send_file_ips'];
}
$this->read( $info_id);

View File

@ -1450,8 +1450,8 @@
}
}
$this->bo->config->config_data = array(
'link_pathes' => serialize($this->bo->link_pathes),
'send_file_ips' => serialize($this->bo->send_file_ips)
'link_pathes' => $this->bo->link_pathes,
'send_file_ips' => $this->bo->send_file_ips
);
$this->bo->config->save_repository(True);
}