35 error_reporting((ini_get(
"error_reporting") & ~E_NOTICE) & ~E_DEPRECATED);
37 require_once __DIR__ .
"/../../libs/composer/vendor/autoload.php";
39 $DIC = new \ILIAS\DI\Container();
41 define(
"DEBUG",
false);
44 require_once
"./setup/classes/class.ilTemplate.php";
45 require_once
"./setup/classes/class.ilLanguage.php";
46 require_once
"./Services/Logging/classes/class.ilLog.php";
47 require_once
"./Services/Authentication/classes/class.ilSession.php";
48 require_once
"./Services/Utilities/classes/class.ilUtil.php";
49 require_once
"./Services/Init/classes/class.ilIniFile.php";
50 require_once
"./setup/classes/class.ilSetupGUI.php";
51 require_once
"./setup/classes/class.Session.php";
52 require_once
"./setup/classes/class.ilClientList.php";
53 require_once
"./setup/classes/class.ilClient.php";
54 require_once
"./Services/FileSystem/classes/class.ilFile.php";
55 require_once
"./setup/classes/class.ilCtrlStructureReader.php";
56 require_once
"./Services/Xml/classes/class.ilSaxParser.php";
57 require_once
"./include/inc.ilias_version.php";
58 include_once
'./Services/Logging/classes/public/class.ilLogLevel.php';
62 define(
"ILIAS_HTTP_PATH", substr(
"https://" .
$_SERVER[
"HTTP_HOST"] . dirname(
$_SERVER[
"REQUEST_URI"]), 0, -6));
64 define(
"ILIAS_HTTP_PATH", substr(
"http://" .
$_SERVER[
"HTTP_HOST"] . dirname(
$_SERVER[
"REQUEST_URI"]), 0, -6));
70 if (
$_SERVER[
"PATH_TRANSLATED"] !=
"") {
71 define(
"ILIAS_ABSOLUTE_PATH", substr(dirname(
$_SERVER[
"PATH_TRANSLATED"]), 0, -6));
73 define(
"ILIAS_ABSOLUTE_PATH", substr(dirname(
$_SERVER[
"SCRIPT_FILENAME"]), 0, -6));
75 } elseif (
$_SERVER[
"SCRIPT_FILENAME"] !=
"") {
76 define(
"ILIAS_ABSOLUTE_PATH", substr(dirname(
$_SERVER[
"SCRIPT_FILENAME"]), 0, -6));
79 define(
'ILIAS_ABSOLUTE_PATH', str_replace(
"/setup/include",
"", dirname(__FILE__)));
83 include_once
'./Services/Calendar/classes/class.ilTimeZone.php';
84 include_once
'./Services/Init/classes/class.ilIniFile.php';
92 define(
'IL_TIMEZONE',
$tz);
97 define(
"TPLPATH",
"./templates/blueshadow");
115 include_once
'./Services/Logging/classes/class.ilLoggingSetupSettings.php';
119 include_once
'./Services/Logging/classes/public/class.ilLoggerFactory.php';
142 $DIC[
"ilCtrlStructureReader"] =
function (
$c) {
143 return $GLOBALS[
"ilCtrlStructureReader"];
146 require_once
"./Services/Utilities/classes/class.ilBenchmark.php";
153 include_once(
"./Services/Database/classes/class.ilDBAnalyzer.php");
154 include_once(
"./Services/Database/classes/class.ilMySQLAbstraction.php");
155 include_once(
"./Services/Database/classes/class.ilDBGenerator.php");
158 $DIC[
'http.request_factory'] =
function (
$c) {
159 return new \ILIAS\HTTP\Request\RequestFactoryImpl();
162 $DIC[
'http.response_factory'] =
function (
$c) {
163 return new \ILIAS\HTTP\Response\ResponseFactoryImpl();
166 $DIC[
'http.cookie_jar_factory'] =
function (
$c) {
167 return new \ILIAS\HTTP\Cookies\CookieJarFactoryImpl();
170 $DIC[
'http.response_sender_strategy'] =
function (
$c) {
171 return new \ILIAS\HTTP\Response\Sender\DefaultResponseSenderStrategy();
174 return new \ILIAS\DI\HTTPServices(
175 $c[
'http.response_sender_strategy'],
176 $c[
'http.cookie_jar_factory'],
177 $c[
'http.request_factory'],
178 $c[
'http.response_factory']
184 $c[
"ui.factory"] =
function (
$c) {
186 $c[
"ui.factory.counter"],
187 $c[
"ui.factory.glyph"],
188 $c[
"ui.factory.button"],
189 $c[
"ui.factory.listing"],
190 $c[
"ui.factory.image"],
191 $c[
"ui.factory.panel"],
192 $c[
"ui.factory.modal"],
193 $c[
"ui.factory.dropzone"],
194 $c[
"ui.factory.popover"],
195 $c[
"ui.factory.divider"],
196 $c[
"ui.factory.link"],
197 $c[
"ui.factory.dropdown"],
198 $c[
"ui.factory.item"],
199 $c[
"ui.factory.icon"],
200 $c[
"ui.factory.viewcontrol"],
201 $c[
"ui.factory.chart"],
202 $c[
"ui.factory.input"],
203 $c[
"ui.factory.table"],
204 $c[
"ui.factory.messagebox"],
205 $c[
"ui.factory.card"]
208 $c[
"ui.signal_generator"] =
function (
$c) {
211 $c[
"ui.factory.counter"] =
function (
$c) {
214 $c[
"ui.factory.glyph"] =
function (
$c) {
217 $c[
"ui.factory.button"] =
function (
$c) {
220 $c[
"ui.factory.listing"] =
function (
$c) {
223 $c[
"ui.factory.image"] =
function (
$c) {
226 $c[
"ui.factory.panel"] =
function (
$c) {
229 $c[
"ui.factory.modal"] =
function (
$c) {
232 $c[
"ui.factory.dropzone"] =
function (
$c) {
235 $c[
"ui.factory.popover"] =
function (
$c) {
238 $c[
"ui.factory.divider"] =
function (
$c) {
241 $c[
"ui.factory.link"] =
function (
$c) {
244 $c[
"ui.factory.dropdown"] =
function (
$c) {
247 $c[
"ui.factory.item"] =
function (
$c) {
250 $c[
"ui.factory.icon"] =
function (
$c) {
253 $c[
"ui.factory.viewcontrol"] =
function (
$c) {
256 $c[
"ui.factory.chart"] =
function (
$c) {
259 $c[
"ui.factory.input"] =
function (
$c) {
261 $c[
"ui.signal_generator"],
262 $c[
"ui.factory.input.field"],
263 $c[
"ui.factory.input.container"]
266 $c[
"ui.factory.table"] =
function (
$c) {
269 $c[
"ui.factory.messagebox"] =
function (
$c) {
272 $c[
"ui.factory.card"] =
function (
$c) {
275 $c[
"ui.factory.progressmeter"] =
function (
$c) {
278 $c[
"ui.factory.dropzone.file"] =
function (
$c) {
281 $c[
"ui.factory.input.field"] =
function (
$c) {
286 $c[
"ui.signal_generator"],
289 $transformation_factory
292 $c[
"ui.factory.input.container"] =
function (
$c) {
294 $c[
"ui.factory.input.container.form"]
297 $c[
"ui.factory.input.container.form"] =
function (
$c) {
299 $c[
"ui.factory.input.field"]
302 $c[
"ui.factory.panel.listing"] =
function (
$c) {
306 $c[
"ui.renderer"] =
function (
$c) {
308 $c[
"ui.component_renderer_loader"]
311 $c[
"ui.component_renderer_loader"] =
function (
$c) {
313 new ILIAS\
UI\Implementation\Render\LoaderResourceRegistryWrapper(
314 $c[
"ui.resource_registry"],
315 new ILIAS\
UI\Implementation\Render\FSLoader(
316 new ILIAS\
UI\Implementation\Render\DefaultRendererFactory(
318 $c[
"ui.template_factory"],
320 $c[
"ui.javascript_binding"]
324 $c[
"ui.template_factory"],
326 $c[
"ui.javascript_binding"]
332 $c[
"ui.template_factory"] =
function (
$c) {
337 $c[
"ui.resource_registry"] =
function (
$c) {
340 $c[
"ui.javascript_binding"] =
function (
$c) {
352 $DIC[
"ilClientIniFile"] =
function (
$c) {
Class ilGSProviderFactory.
This class provides processing control methods.
if((!isset($_SERVER['DOCUMENT_ROOT'])) OR(empty($_SERVER['DOCUMENT_ROOT']))) $_SERVER['DOCUMENT_ROOT']
static newInstance(ilLoggingSettings $settings)
get new instance
Wraps global ilTemplate to provide JavaScriptBinding.
Implementation of factory for tables.
Caches renderers loaded by another loader.
static initDefaultTimeZone(ilIniFile $ini)
Initialize default timezone from system settings.
Class ilCtrlStructureReader.
Implementation of factory for cards.
Logger settings for setup.
Factory for wrapped ilTemplates.
This is how the factory for UI elements looks.
special template class to simplify handling of ITX/PEAR
"Manueller" Session-Fallback mit PHP4
performance measurement class
Class ilCertificateAppEventListener.
Plumbing for ILIAS, tries to guess.