ILIAS
release_4-3 Revision
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
Pages
web_access_attach.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2010 ILIAS open source, Extended GPL, see docs/LICENSE */
3
18
// Change to ILIAS main directory
19
chdir(
"../.."
);
20
21
// Load the checker class, which also initializes ILIAS
22
require_once
"./Services/WebAccessChecker/classes/class.ilWebAccessChecker.php"
;
23
24
$checker
=
new
ilWebAccessChecker
();
25
$checker
->setDisposition(
"attachment"
);
26
27
if
(
$checker
->checkAccess())
28
{
29
$checker
->sendFile();
30
}
31
else
32
{
33
$checker
->sendError();
34
}
35
?>
Services
WebAccessChecker
web_access_attach.php
Generated on Sat Apr 30 2016 19:01:18 for ILIAS by
1.8.1.2 (using
Doxyfile
)