ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
throwException.php
Go to the documentation of this file.
1<?php
2
19chdir("./../../../");
20$ini = new ilIniFile("ilias.ini.php");
21$ini->read();
22
23$http = $ini->readVariable("server", "http_path");
24$http = preg_replace("/^(https:\/\/)|(http:\/\/)+/", "", $http);
25
26$_SERVER['HTTP_HOST'] = $http;
27$_SERVER['REQUEST_URI'] = "";
28
30
31throw new Exception("This is your error message");
INIFile Parser Early access in init proceess! Avoid further dependencies like logging or other servic...
static initILIAS()
ilias initialisation
$_SERVER['HTTP_HOST']