diff --git a/www-ssl/inc/funktion_xml.php b/www-ssl/inc/funktion_xml.php index b9bb2ce5..12dbc254 100755 --- a/www-ssl/inc/funktion_xml.php +++ b/www-ssl/inc/funktion_xml.php @@ -110,9 +110,18 @@ function readXMLfile( $file ) $xml_parser = xml_parser_create("UTF-8"); xml_set_element_handler($xml_parser, "start_element_handler", "end_element_handler"); xml_set_character_data_handler($xml_parser, "character_data_handler"); - if (!($fp = fopen($file, "r"))) + + if (file_exists($file)) { - echo("