forked from ILIAS-eLearning/ILIAS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconstants.php
50 lines (43 loc) · 1.36 KB
/
constants.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?php
/**
* This file is part of ILIAS, a powerful learning management system
* published by ILIAS open source e-Learning e.V.
*
* ILIAS is licensed with the GPL-3.0,
* see https://www.gnu.org/licenses/gpl-3.0.en.html
* You should have received a copy of said license along with the
* source code, too.
*
* If this is not the case or you just want to try ILIAS, you'll find
* us at:
* https://www.ilias.de
* https://github.com/ILIAS-eLearning
*
*********************************************************************/
declare(strict_types=1);
/**
* This file contains constants for PHPStan analyis, see: https://phpstan.org/config-reference#constants
*/
// User an role specific constants
const SYSTEM_USER_ID = 6;
const ANONYMOUS_USER_ID = 13;
const ANONYMOUS_ROLE_ID = 14;
const SYSTEM_ROLE_ID = 2;
// Folder specific constants
const ROOT_FOLDER_ID = 1;
const USER_FOLDER_ID = 7;
const ROLE_FOLDER_ID = 8;
const SYSTEM_FOLDER_ID = 9;
const MAIL_SETTINGS_ID = 12;
const RECOVERY_FOLDER_ID = 15;
// Installation and environment specific constants
const IL_INST_ID = '0';
const CLIENT_ID = 'phpstan';
const CLIENT_NAME = 'PHPStan';
const ABSOLUTE_PATH = '/';
const ILIAS_DATA_DIR = './external_data';
const ILIAS_WEB_DIR = './data';
const CLIENT_DATA_DIR = './external_data';
const CLIENT_WEB_DIR = './data';
// Mail system specific constants
const MAILPATH = 'mail';