33 error_reporting((ini_get(
"error_reporting") & ~E_NOTICE) & ~E_DEPRECATED);
35 require_once __DIR__.
"/../../libs/composer/vendor/autoload.php";
37 $DIC = new \ILIAS\DI\Container();
39 define(
"DEBUG",
false);
42 require_once
"./setup/classes/class.ilTemplate.php";
43 require_once
"./setup/classes/class.ilLanguage.php";
44 require_once
"./Services/Logging/classes/class.ilLog.php";
45 require_once
"./Services/Authentication/classes/class.ilSession.php";
46 require_once
"./Services/Utilities/classes/class.ilUtil.php";
47 require_once
"./Services/Init/classes/class.ilIniFile.php";
48 require_once
"./setup/classes/class.ilSetupGUI.php";
49 require_once
"./setup/classes/class.Session.php";
50 require_once
"./setup/classes/class.ilClientList.php";
51 require_once
"./setup/classes/class.ilClient.php";
52 require_once
"./Services/FileSystem/classes/class.ilFile.php";
53 require_once
"./setup/classes/class.ilCtrlStructureReader.php";
54 require_once
"./Services/Xml/classes/class.ilSaxParser.php";
55 require_once
"./include/inc.ilias_version.php";
56 include_once
'./Services/Logging/classes/public/class.ilLogLevel.php';
59 require_once
"./setup/classes/class.ilSetupErrorHandling.php";
68 define (
"ILIAS_HTTP_PATH",substr(
"https://".
$_SERVER[
"HTTP_HOST"].dirname(
$_SERVER[
"REQUEST_URI"]),0,-6));
72 define (
"ILIAS_HTTP_PATH",substr(
"http://".
$_SERVER[
"HTTP_HOST"].dirname(
$_SERVER[
"REQUEST_URI"]),0,-6));
79 if (
$_SERVER[
"PATH_TRANSLATED"] !=
"")
81 define (
"ILIAS_ABSOLUTE_PATH",substr(dirname(
$_SERVER[
"PATH_TRANSLATED"]),0,-6));
85 define (
"ILIAS_ABSOLUTE_PATH",substr(dirname(
$_SERVER[
"SCRIPT_FILENAME"]),0,-6));
88 else if (
$_SERVER[
"SCRIPT_FILENAME"] !=
"")
90 define (
"ILIAS_ABSOLUTE_PATH",substr(dirname(
$_SERVER[
"SCRIPT_FILENAME"]),0,-6));
95 define (
'ILIAS_ABSOLUTE_PATH',str_replace(
"/setup/include",
"", dirname(__FILE__)));
99 include_once
'./Services/Calendar/classes/class.ilTimeZone.php';
100 include_once
'./Services/Init/classes/class.ilIniFile.php';
106 define(
'IL_TIMEZONE',
$tz);
109 define (
"TPLPATH",
"./templates/blueshadow");
123 include_once
'./Services/Logging/classes/class.ilLoggingSetupSettings.php';
127 include_once
'./Services/Logging/classes/public/class.ilLoggerFactory.php';
143 $DIC[
"ilCtrlStructureReader"] =
function($c) {
return $GLOBALS[
"ilCtrlStructureReader"]; };
145 require_once
"./Services/Utilities/classes/class.ilBenchmark.php";
150 include_once(
"./Services/Database/classes/class.ilDBAnalyzer.php");
151 include_once(
"./Services/Database/classes/class.ilMySQLAbstraction.php");
152 include_once(
"./Services/Database/classes/class.ilDBGenerator.php");
if((!isset($_SERVER['DOCUMENT_ROOT'])) OR(empty($_SERVER['DOCUMENT_ROOT']))) $_SERVER['DOCUMENT_ROOT']
const PEAR_ERROR_CALLBACK
static newInstance(ilLoggingSettings $settings)
get new instance
static initDefaultTimeZone(ilIniFile $ini)
Initialize default timezone from system settings.
Class ilCtrlStructureReader.
Logger settings for setup.
special template class to simplify handling of ITX/PEAR
Create styles array
The data for the language used.
"Manueller" Session-Fallback mit PHP4
performance measurement class