Subversion Repositories oidplus

Rev

Rev 1074 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1074 Rev 1115
Line 21... Line 21...
21
 
21
 
22
require_once __DIR__ . '/includes/oidplus.inc.php';
22
require_once __DIR__ . '/includes/oidplus.inc.php';
23
 
23
 
24
header('Content-Type:application/json; charset=UTF-8');
24
header('Content-Type:application/json; charset=UTF-8');
25
 
25
 
-
 
26
try {
26
OIDplus::init(false);
27
        OIDplus::init(false);
-
 
28
} catch (Exception $e) {
-
 
29
        OIDplus::invoke_shutdown();
-
 
30
        $out = array(
-
 
31
                "error" => $e->getMessage()
-
 
32
        );
-
 
33
        echo json_encode($out);
-
 
34
        die();
-
 
35
}
-
 
36
 
27
 
37
 
28
# ---
38
# ---
29
 
39
 
30
$out = array();
40
$out = array();
31
 
41