36error_reporting(((
int) (ini_get(
"error_reporting")) & ~E_NOTICE) & ~E_DEPRECATED);
38require_once __DIR__ .
"/../../libs/composer/vendor/autoload.php";
40$DIC = new \ILIAS\DI\Container();
42define(
"DEBUG",
false);
45require_once
"./setup/classes/class.ilTemplate.php";
46require_once
"./Services/Logging/classes/class.ilLog.php";
47require_once
"./Services/Authentication/classes/class.ilSession.php";
48require_once
"./Services/Utilities/classes/class.ilUtil.php";
49require_once
"./Services/Init/classes/class.ilIniFile.php";
50require_once
"./setup/classes/class.ilSetupGUI.php";
51require_once
"./setup/classes/class.Session.php";
52require_once
"./setup/classes/class.ilClientList.php";
53require_once
"./setup/classes/class.ilClient.php";
54require_once
"./Services/FileSystem/classes/class.ilFile.php";
55require_once
"./Services/UICore/classes/Setup/class.ilCtrlStructureReader.php";
56require_once
"./Services/Xml/classes/class.ilSaxParser.php";
57require_once
"./include/inc.ilias_version.php";
58include_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__)));
83include_once
'./Services/Calendar/classes/class.ilTimeZone.php';
84include_once
'./Services/Init/classes/class.ilIniFile.php';
92define(
'IL_TIMEZONE',
$tz);
97define(
"TPLPATH",
"./templates/blueshadow");
115include_once
'./Services/Logging/classes/class.ilLoggingSetupSettings.php';
119include_once
'./Services/Logging/classes/public/class.ilLoggerFactory.php';
142$DIC[
"ilCtrlStructureReader"] =
function (
$c) {
143 return $GLOBALS[
"ilCtrlStructureReader"];
146require_once
"./Services/Utilities/classes/class.ilBenchmark.php";
154$DIC[
'http.request_factory'] =
function (
$c) {
155 return new \ILIAS\HTTP\Request\RequestFactoryImpl();
158$DIC[
'http.response_factory'] =
function (
$c) {
159 return new \ILIAS\HTTP\Response\ResponseFactoryImpl();
162$DIC[
'http.cookie_jar_factory'] =
function (
$c) {
163 return new \ILIAS\HTTP\Cookies\CookieJarFactoryImpl();
166$DIC[
'http.response_sender_strategy'] =
function (
$c) {
167 return new \ILIAS\HTTP\Response\Sender\DefaultResponseSenderStrategy();
170 return new \ILIAS\DI\HTTPServices(
171 $c[
'http.response_sender_strategy'],
172 $c[
'http.cookie_jar_factory'],
173 $c[
'http.request_factory'],
174 $c[
'http.response_factory']
180$c[
"ui.factory"] =
function (
$c) {
182 $c[
"ui.factory.counter"],
183 $c[
"ui.factory.button"],
184 $c[
"ui.factory.listing"],
185 $c[
"ui.factory.image"],
186 $c[
"ui.factory.panel"],
187 $c[
"ui.factory.modal"],
188 $c[
"ui.factory.dropzone"],
189 $c[
"ui.factory.popover"],
190 $c[
"ui.factory.divider"],
191 $c[
"ui.factory.link"],
192 $c[
"ui.factory.dropdown"],
193 $c[
"ui.factory.item"],
194 $c[
"ui.factory.viewcontrol"],
195 $c[
"ui.factory.chart"],
196 $c[
"ui.factory.input"],
197 $c[
"ui.factory.table"],
198 $c[
"ui.factory.messagebox"],
199 $c[
"ui.factory.card"],
200 $c[
"ui.factory.layout"],
201 $c[
"ui.factory.maincontrols"],
202 $c[
"ui.factory.tree"],
203 $c[
"ui.factory.menu"],
204 $c[
"ui.factory.symbol"],
205 $c[
"ui.factory.legacy"]
208$c[
"ui.signal_generator"] =
function (
$c) {
211$c[
"ui.factory.counter"] =
function (
$c) {
214$c[
"ui.factory.symbol.glyph"] =
function (
$c) {
217$c[
"ui.factory.symbol.icon"] =
function (
$c) {
220$c[
"ui.factory.symbol"] =
function (
$c) {
222 $c[
"ui.factory.symbol.icon"],
223 $c[
"ui.factory.symbol.glyph"]
226$c[
"ui.factory.button"] =
function (
$c) {
229$c[
"ui.factory.listing"] =
function (
$c) {
232$c[
"ui.factory.image"] =
function (
$c) {
235$c[
"ui.factory.panel"] =
function (
$c) {
238$c[
"ui.factory.modal"] =
function (
$c) {
241$c[
"ui.factory.dropzone"] =
function (
$c) {
244$c[
"ui.factory.popover"] =
function (
$c) {
247$c[
"ui.factory.divider"] =
function (
$c) {
250$c[
"ui.factory.link"] =
function (
$c) {
253$c[
"ui.factory.dropdown"] =
function (
$c) {
256$c[
"ui.factory.item"] =
function (
$c) {
260$c[
"ui.factory.viewcontrol"] =
function (
$c) {
263$c[
"ui.factory.chart"] =
function (
$c) {
266$c[
"ui.factory.input"] =
function (
$c) {
268 $c[
"ui.signal_generator"],
269 $c[
"ui.factory.input.field"],
270 $c[
"ui.factory.input.container"]
273$c[
"ui.factory.table"] =
function (
$c) {
276$c[
"ui.factory.messagebox"] =
function (
$c) {
279$c[
"ui.factory.card"] =
function (
$c) {
282$c[
"ui.factory.layout"] =
function (
$c) {
285$c[
"ui.factory.maincontrols.slate"] =
function (
$c) {
287 $c[
'ui.signal_generator'],
288 $c[
'ui.factory.counter']
291$c[
"ui.factory.maincontrols"] =
function (
$c) {
293 $c[
'ui.signal_generator'],
294 $c[
'ui.factory.maincontrols.slate']
297$c[
"ui.factory.menu"] =
function (
$c) {
301$c[
"ui.factory.tree"] =
function (
$c) {
304$c[
"ui.factory.progressmeter"] =
function (
$c) {
307$c[
"ui.factory.dropzone.file"] =
function (
$c) {
310$c[
"ui.factory.input.field"] =
function (
$c) {
314 $c[
"ui.signal_generator"],
319$c[
"ui.factory.input.container"] =
function (
$c) {
321 $c[
"ui.factory.input.container.form"],
322 $c[
"ui.factory.input.container.filter"]
325$c[
"ui.factory.input.container.filter"] =
function (
$c) {
327 $c[
"ui.signal_generator"],
328 $c[
"ui.factory.input.field"]
331$c[
"ui.factory.input.container.form"] =
function (
$c) {
333 $c[
"ui.factory.input.field"]
336$c[
"ui.factory.panel.listing"] =
function (
$c) {
339$c[
"ui.factory.legacy"] =
function (
$c) {
343$c[
"ui.renderer"] =
function (
$c) {
345 $c[
"ui.component_renderer_loader"]
348$c[
"ui.component_renderer_loader"] =
function (
$c) {
350 new ILIAS\
UI\Implementation\Render\LoaderResourceRegistryWrapper(
351 $c[
"ui.resource_registry"],
352 new ILIAS\
UI\Implementation\Render\FSLoader(
353 new ILIAS\
UI\Implementation\Render\DefaultRendererFactory(
355 $c[
"ui.template_factory"],
357 $c[
"ui.javascript_binding"]
359 new ILIAS\
UI\Implementation\Component\Symbol\Glyph\GlyphRendererFactory(
361 $c[
"ui.template_factory"],
363 $c[
"ui.javascript_binding"]
365 new ILIAS\
UI\Implementation\Component\Input\Field\FieldRendererFactory(
367 $c[
"ui.template_factory"],
369 $c[
"ui.javascript_binding"]
375$c[
"ui.template_factory"] =
function (
$c) {
380$c[
"ui.resource_registry"] =
function (
$c) {
383$c[
"ui.javascript_binding"] =
function (
$c) {
388$c[
'global_screen'] =
function () use (
$c) {
An exception for terminatinating execution or to throw for unit testing.
Class NullProviderFactory.
Implementation of factory for cards.
Implementation of factory for tables.
Renderer that dispatches rendering of UI components to a Renderer found in the same namespace as the ...
Caches renderers loaded by another loader.
Wraps global ilTemplate to provide JavaScriptBinding.
Plumbing for ILIAS, tries to guess.
Factory for wrapped ilTemplates.
"Manueller" Session-Fallback mit PHP4
performance measurement class
Class ilCtrlStructureReader.
This class provides processing control methods.
static newInstance(ilLoggingSettings $settings)
get new instance
Logger settings for setup.
language handling for setup
special template class to simplify handling of ITX/PEAR
static initDefaultTimeZone(ilIniFile $ini)
Initialize default timezone from system settings.
This is what a factory for layouts looks like.
This is how the factory for UI elements looks.
Class ChatMainBarProvider \MainMenu\Provider.
Class ilAsqQuestionAuthoringFactory.