2 require_once(
'./Services/WebAccessChecker/classes/class.ilWebAccessChecker.php');
3 require_once(
'./Services/WebAccessChecker/classes/class.ilHTTP.php');
4 require_once(
'./Services/FileDelivery/classes/class.ilFileDelivery.php');
22 public static function run($raw_path) {
23 $obj =
new self($raw_path);
24 $obj->handleRequest();
61 switch ($e->getCode()) {
78 protected function deny() {
90 $ilFileDelivery->deliver();
98 $ilFileDelivery->stream();
121 $ilLog->write($e->getMessage());
122 $tpl->setVariable(
'BASE', strstr(
$_SERVER[
'REQUEST_URI'],
'/data',
true) .
'/');
124 $tpl->getStandardTemplate();
134 echo $e->getMessage();
149 $ilFileDelivery->stream();
151 $ilFileDelivery->deliver();
if((!isset($_SERVER['DOCUMENT_ROOT'])) OR(empty($_SERVER['DOCUMENT_ROOT']))) $_SERVER['DOCUMENT_ROOT']
__construct($raw_path)
ilWebAccessCheckerDelivery constructor.
const NO_CHECKING_INSTANCE
setDisposition($disposition)
const ACCESS_DENIED_NO_LOGIN
setRevalidateFolderTokens($revalidate_folder_tokens)
handleAccessErrors(ilWACException $e)
const ACCESS_WITHOUT_CHECK
handleErrors(ilWACException $e)
Class ilWebAccessChecker.
setSendStatusCode($send_status_code)
setDisposition($disposition)
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.
Class ilWebAccessCheckerDelivery.
const ACCESS_DENIED_NO_PUB
const INITIALISATION_FAILED
static handleErrorReporting()
Set error reporting level.