ILIAS
release_8 Revision v8.19
◀ 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
n
o
p
r
s
t
u
v
w
x
+
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
j
l
m
p
s
t
u
+
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
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
v
x
+
Variables
$
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
class.ilFileSystemSetupConfig.php
Go to the documentation of this file.
1
<?php
2
3
use
ILIAS\Setup
;
4
5
/******************************************************************************
6
*
7
* This file is part of ILIAS, a powerful learning management system.
8
*
9
* ILIAS is licensed with the GPL-3.0, you should have received a copy
10
* of said license along with the source code.
11
*
12
* If this is not the case or you just want to try ILIAS, you'll find
13
* us at:
14
* https://www.ilias.de
15
* https://github.com/ILIAS-eLearning
16
*
17
*****************************************************************************/
18
class
ilFileSystemSetupConfig
implements
Setup\Config
19
{
20
protected
string
$data_dir
;
21
22
public
function
__construct
(
23
string
$data_dir
24
) {
25
$this->data_dir = $this->
normalizePath
($data_dir);
26
}
27
28
protected
function
normalizePath
(
string
$p): ?string
29
{
30
$p = preg_replace(
"/\\\\/"
,
"/"
, $p);
31
return
preg_replace(
"%/+$%"
,
""
, $p);
32
}
33
34
public
function
getDataDir
(): string
35
{
36
return
$this->data_dir
;
37
}
38
39
public
function
getWebDir
(): string
40
{
41
return
dirname(__DIR__, 4) .
"/data"
;
42
}
43
}
ILIAS\Setup
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilMysqlMyIsamToInnoDbMigration.php:19
ilFileSystemSetupConfig\getWebDir
getWebDir()
Definition:
class.ilFileSystemSetupConfig.php:39
ilFileSystemSetupConfig\$data_dir
string $data_dir
Definition:
class.ilFileSystemSetupConfig.php:20
ilFileSystemSetupConfig\getDataDir
getDataDir()
Definition:
class.ilFileSystemSetupConfig.php:34
ilFileSystemSetupConfig\normalizePath
normalizePath(string $p)
Definition:
class.ilFileSystemSetupConfig.php:28
ilFileSystemSetupConfig
Definition:
class.ilFileSystemSetupConfig.php:18
ilFileSystemSetupConfig\__construct
__construct(string $data_dir)
Definition:
class.ilFileSystemSetupConfig.php:22
Services
FileSystem
classes
Setup
class.ilFileSystemSetupConfig.php
Generated on Sun Apr 6 2025 22:02:33 for ILIAS by
1.8.13 (using
Doxyfile
)