summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 816e5ef)
raw | patch | inline | side by side (parent: 816e5ef)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 10 Dec 2008 13:55:09 +0000 (13:55 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 10 Dec 2008 13:55:09 +0000 (13:55 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13244 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_config.inc | patch | blob | history |
index 5d10616bf47d3e70e0c17fc0f87a51f06210f1ae..4c56f658c11df4aaabff8be8e2143c9a4fa276fa 100644 (file)
xml_set_object($this->parser, $this);
xml_set_element_handler($this->parser, "tag_open", "tag_close");
$this->parse($this->filename);
-# if(session::is_set('plist')){
-# session::un_set('plist');
-# }
-# if(session::is_set('plug')){
-# session::un_set('plug');
-# }
-# if(isset($_GET['plug'])){
-# unset($_GET['plug']);
-# }
}
}
function parse($filename)
{
+ $this->data = array();
+
$this->last_modified = filemtime($filename);
$this->filename = $filename;
$fh= fopen($filename, "r");
$xmldata= fread($fh, 100000);
- fclose($fh);
+ fclose($fh);
if(!xml_parse($this->parser, chop($xmldata))){
$msg = sprintf(_("XML error in gosa.conf: %s at line %d"),
xml_error_string(xml_get_error_code($this->parser)),