ILIAS
release_4-4 Revision
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
+
Files
File List
+
Globals
+
All
$
(
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
v
w
x
+
Variables
$
(
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
web_access_virtual.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2010 ILIAS open source, Extended GPL, see docs/LICENSE */
3
23
// Change to ILIAS main directory
24
chdir(
"../.."
);
25
26
// Load the checker class, which also initializes ILIAS
27
require_once
"./Services/WebAccessChecker/classes/class.ilWebAccessChecker.php"
;
28
29
$checker
=
new
ilWebAccessChecker
();
30
$checker
->setDisposition(
"virtual"
);
31
32
if
(
$checker
->checkAccess())
33
{
34
$checker
->sendFile();
35
}
36
else
37
{
38
$checker
->sendError();
39
}
40
?>
$checker
$checker
Definition:
web_access_virtual.php:29
ilWebAccessChecker
Class ilWebAccessChecker.
Definition:
class.ilWebAccessChecker.php:56
Services
WebAccessChecker
web_access_virtual.php
Generated on Mon Dec 21 2020 19:01:26 for ILIAS by
1.8.13 (using
Doxyfile
)