Skip to content

remove xml and yaml output for api.php #149

@Klap-in

Description

@Klap-in

in api.php a xml and yaml output is offered as well, using some included libraries (that aren't updated).

conclusion: remove yaml and xml support?

        case 'xml':
            header('Content-Type: application/xml; charset=utf-8');
            require(__DIR__ . '/classes/A2Xml.php');
            $xml = xml_encode((object) $extensions, "hash");
            echo $xml;
            break;
        case 'yaml':
            header('Content-Type: text/yaml');
            require(__DIR__ . '/classes/Spyc.php');
            echo Spyc::YAMLDump($extensions, false, 0);
            break;

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions