36 error_reporting(((
int) (ini_get(
"error_reporting")) & ~E_NOTICE) & ~E_DEPRECATED);
38 require_once __DIR__ .
"/../../libs/composer/vendor/autoload.php";
40 $DIC = new \ILIAS\DI\Container();
42 define(
"DEBUG",
false);
45 require_once
"./setup/classes/class.ilTemplate.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
"./Services/UICore/classes/Setup/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";
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"]
361 $c[
"ui.template_factory"],
363 $c[
"ui.javascript_binding"]
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) {
400 $DIC[
"ilClientIniFile"] =
function (
$c) {
This class provides processing control methods.
static newInstance(ilLoggingSettings $settings)
get new instance
Class ChatMainBarProvider .
Wraps global ilTemplate to provide JavaScriptBinding.
Implementation of factory for tables.
static initDefaultTimeZone(ilIniFile $ini)
Initialize default timezone from system settings.
language handling for setup
Class ilCtrlStructureReader.
Implementation of factory for cards.
Logger settings for setup.
Factory for wrapped ilTemplates.
This is how the factory for UI elements looks.
"Manueller" Session-Fallback mit PHP4
Class NullProviderFactory.
performance measurement class
This is what a factory for layouts looks like.
Class ilAsqQuestionAuthoringFactory.
Plumbing for ILIAS, tries to guess.