NOF_mapPath($xmlPropertyFile),"{2}"=>getcwd())); exit(); } $data = implode("", $dataArr); /* if(!($data = @file_get_contents($xmlPropertyFile))){ $errorMessage = "Cannot open XML property file for reading"; NOF_throwError(601,array("{1}"=>NOF_mapPath($xmlPropertyFile),"{2}"=>NOF_mappath(getcwd()))); exit(); } */ } else { NOF_throwError(620,array("{1}"=>NOF_mapPath($xmlPropertyFile),"{2}"=>NOF_mappath(getcwd()))); exit(); } $data = str_replace('','',$data); if(!xml_parse($xml_parser, $data)){ $errorMessage = "XML error at Line ".xml_get_current_line_number($xml_parser). " Column ". xml_get_current_column_number($xml_parser); NOF_throwError(600,array("{1}"=>NOF_mapPath($xmlPropertyFile),"{2}"=>NOF_mappath(getcwd()))); exit(); } //We free the parser xml_parser_free($xml_parser); //returns the array return $conf; } ?>