/dev/trunk

To get this branch, use:
bzr branch http://darksoft.org/webbzr/dev/trunk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

try {
    $req = new DATARequest();
    $export = $req->CreateExporter();
    if (isset($_GET["cache"])) {
        $export->SetCacheMode(true);
    }
    $export->Export();
} catch(ADEIException $ex) {
    header("Content-type: text/plain");
    $ex->logInfo(NULL, $export);
    echo "ERROR: " . $ex->getInfo();
}

?>