ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
p
s
t
w
+
Functions
_
a
b
c
f
g
h
i
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
setup.php
Go to the documentation of this file.
1
<?php
2
/*
3
+-----------------------------------------------------------------------------+
4
| ILIAS open source |
5
+-----------------------------------------------------------------------------+
6
| Copyright (c) 1998-2008 ILIAS open source, University of Cologne |
7
| |
8
| This program is free software; you can redistribute it and/or |
9
| modify it under the terms of the GNU General Public License |
10
| as published by the Free Software Foundation; either version 2 |
11
| of the License, or (at your option) any later version. |
12
| |
13
| This program is distributed in the hope that it will be useful, |
14
| but WITHOUT ANY WARRANTY; without even the implied warranty of |
15
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
16
| GNU General Public License for more details. |
17
| |
18
| You should have received a copy of the GNU General Public License |
19
| along with this program; if not, write to the Free Software |
20
| Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
21
+-----------------------------------------------------------------------------+
22
*/
23
36
if
(
false
=== file_exists(__DIR__ .
'/../libs/composer/vendor/autoload.php'
)) {
37
echo
'Could not find composers "autoload.php". Try to run "composer install" in the directory ".libs/composer"'
;
38
exit
;
39
}
40
41
if
(php_sapi_name() ===
"cli"
) {
42
require_once(__DIR__ .
"/cli.php"
);
43
}
else
{
44
45
// ATTENTION: This is a hack to get around the usage of the echo/exit pattern in
46
// the setup for the command line version of the setup.
47
function
setup_exit
(
$message
)
48
{
49
echo
"<pre>$message</pre>"
;
50
die();
51
}
52
53
if
(ini_get(
'session.save_handler'
) !=
'files'
) {
54
throw
new
Exception
(
"session.save_handler in php.ini must be configured to 'files'."
);
55
}
56
57
chdir(
".."
);
58
define(
'IL_INITIAL_WD'
, getcwd());
59
require_once
"./setup/include/inc.setup_header.php"
;
60
61
$setup
=
new
ilSetupGUI
();
62
}
exit
exit
Definition:
login.php:29
$setup
$setup
Definition:
setup.php:61
ilSetupGUI
Setup GUI class.
Definition:
class.ilSetupGUI.php:17
setup_exit
setup_exit($message)
Definition:
cli.php:54
$message
$message
Definition:
xapiexit.php:14
Exception
setup
setup.php
Generated on Sat Apr 5 2025 20:01:36 for ILIAS by
1.8.13 (using
Doxyfile
)