/** * Return XML output. * */ function yourls_xml_encode($array) { require_once YOURLS_INC . '/functions-xml.php'; $converter = new yourls_array2xml(); return $converter->array2xml($array); }
function yourls_xml_encode($array) { require_once dirname(__FILE__) . '/functions-xml.php'; $converter = new yourls_array2xml(); return $converter->array2xml($array); }