ILIAS  trunk Revision v11.0_alpha-1843-g9e1fad99175
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
throwException.php
Go to the documentation of this file.
1 <?php
2 
19 chdir("./../../../");
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 
31 throw new Exception("This is your error message");
$_SERVER['HTTP_HOST']
static initILIAS()
ilias initialisation