blob: 3a6c5c09a5234f6b19cbd91a2b308cdea57a334f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
<?php
# Lifter002: TODO
# Lifter007: TODO
# Lifter003: TODO
# Lifter010: TODO
/*
* jsonrpc.php - JSON-RPC Backend for Stud.IP web services
*
* Copyright (C) 2006 - Marcus Lunzenauer <mlunzena@uos.de>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of
* the License, or (at your option) any later version.
*/
require '../lib/bootstrap.php';
require '../lib/webservices/webservices_bootstrap.php';
# create server
$dispatcher = new Studip_Ws_JsonrpcDispatcher($AVAILABLE_SERVICES);
$server = new jsonrpc_server($dispatcher->get_dispatch_map(), 0);
# $server->setDebug(3);
# $server->compress_response = FALSE;
# start server
$server->service();
|