ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
server.php
Go to the documentation of this file.
1
<?
php
2
/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
chdir(
'../../..'
);
5
6
include_once
'Services/Context/classes/class.ilContext.php'
;
7
ilContext::init
(
ilContext::CONTEXT_REST
);
8
9
$_COOKIE
[
'client_id'
] =
$_GET
[
'client_id'
] = $_REQUEST[
'client_id'
];
10
11
include_once
'./include/inc.header.php'
;
12
13
14
include_once
'./Services/WebServices/Rest/classes/class.ilRestServer.php'
;
15
$server
=
new
ilRestServer
(
16
[
17
'settings'
=> [
18
'displayErrorDetails'
=>
true
19
]
20
]
21
);
22
$server
->init();
23
$server
->run();
$_COOKIE
$_COOKIE['client_id']
Definition:
server.php:9
$_GET
$_GET["client_id"]
Definition:
cfg.phpunit.template.php:12
ilContext\CONTEXT_REST
const CONTEXT_REST
Definition:
class.ilContext.php:30
ilRestServer
Slim rest server.
Definition:
class.ilRestServer.php:11
ilContext\init
static init($a_type)
Init context by type.
Definition:
class.ilContext.php:45
$server
$server
Definition:
server.php:15
php
Services
WebServices
Rest
server.php
Generated on Thu Jan 16 2025 19:01:55 for ILIAS by
1.8.13 (using
Doxyfile
)