33 if (version_compare(PHP_VERSION,
'5.3.0',
'>='))
35 error_reporting((ini_get(
"error_reporting") & ~E_NOTICE) & ~E_DEPRECATED);
39 error_reporting(ini_get(
'error_reporting') & ~E_NOTICE);
42 define(
"DEBUG",
false);
43 set_include_path(
"./Services/PEAR/lib".PATH_SEPARATOR.ini_get(
'include_path'));
44 require_once
"./include/inc.check_pear.php";
47 require_once
"PEAR.php";
51 @include_once
"HTML/Template/ITX.php";
52 if (class_exists(
"HTML_Template_ITX"))
54 include_once
"./Services/UICore/classes/class.ilTemplateHTMLITX.php";
58 include_once
"HTML/ITX.php";
59 include_once
"./Services/UICore/classes/class.ilTemplateITX.php";
61 require_once
"./setup/classes/class.ilTemplate.php";
63 require_once
"./setup/classes/class.ilLanguage.php";
64 require_once
"./Services/Logging/classes/class.ilLog.php";
65 require_once
"./Services/Authentication/classes/class.ilSession.php";
66 require_once
"./Services/Utilities/classes/class.ilUtil.php";
67 require_once
"./Services/Init/classes/class.ilIniFile.php";
68 require_once
"./Services/Database/classes/class.ilDB.php";
69 require_once
"./setup/classes/class.ilSetupGUI.php";
70 require_once
"./setup/classes/class.Session.php";
71 require_once
"./setup/classes/class.ilClientList.php";
72 require_once
"./setup/classes/class.ilClient.php";
73 require_once
"./Services/FileSystem/classes/class.ilFile.php";
74 require_once
"./setup/classes/class.ilCtrlStructureReader.php";
75 require_once
"./Services/Xml/classes/class.ilSaxParser.php";
76 require_once
"./include/inc.ilias_version.php";
79 require_once
"./Services/Init/classes/class.ilErrorHandling.php";
85 if($_SERVER[
'HTTPS'] ==
'on')
87 define (
"ILIAS_HTTP_PATH",substr(
"https://".$_SERVER[
"HTTP_HOST"].dirname($_SERVER[
"REQUEST_URI"]),0,-6));
91 define (
"ILIAS_HTTP_PATH",substr(
"http://".$_SERVER[
"HTTP_HOST"].dirname($_SERVER[
"REQUEST_URI"]),0,-6));
96 if (isset($_SERVER[
"REDIRECT_STATUS"]) && !isset($_SERVER[
"FCGI_ROLE"]))
98 if ($_SERVER[
"PATH_TRANSLATED"] !=
"")
100 define (
"ILIAS_ABSOLUTE_PATH",substr(dirname($_SERVER[
"PATH_TRANSLATED"]),0,-6));
104 define (
"ILIAS_ABSOLUTE_PATH",substr(dirname($_SERVER[
"SCRIPT_FILENAME"]),0,-6));
109 define (
"ILIAS_ABSOLUTE_PATH",substr(dirname($_SERVER[
"SCRIPT_FILENAME"]),0,-6));
112 define (
"TPLPATH",
"./templates/blueshadow");
138 require_once
"./Services/Utilities/classes/class.ilBenchmark.php";
142 include_once(
"./Services/Database/classes/class.ilDBAnalyzer.php");
143 include_once(
"./Services/Database/classes/class.ilMySQLAbstraction.php");
144 include_once(
"./Services/Database/classes/class.ilDBGenerator.php");