/adei/trunk

To get this branch, use:
bzr branch http://darksoft.org/webbzr/adei/trunk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php
header('Access-Control-Allow-Origin: *');

require("../adei.php");
try {
    ADEI::RequireService($_GET['service']);
} catch (ADEIException $ex) {
    $ex->logInfo();
    $service_error = xml_escape($ex->getInfo());
}

if ($service_error) {
    echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
    echo "<result><Error>$service_error</Error></result>";
}

?>