-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconst.inc
103 lines (99 loc) · 2.46 KB
/
const.inc
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<?php
/**
* Copyright 2021, 2024 5 Mode
*
* This file is part of Msnger.
*
* Msnger is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Msnger is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Msnger. If not, see <https://www.gnu.org/licenses/>.
*
* const.inc
*
* Msnger constant file.
*
* @author Daniele Bonini <my25mb@aol.com>
* @copyrights (c) 2021, 2024, 5 Mode
*/
if (!defined("PHP_BR")) {
define('PHP_BR', "<br>");
}
if (!defined("PHP_CN")) {
define('PHP_CN', "zh-CN");
}
if (!defined("PHP_EN")) {
define('PHP_EN', "en-US");
}
if (!defined("PHP_ES")) {
define('PHP_ES', "es-ES");
}
if (!defined("PHP_FR")) {
define('PHP_FR', "fr-FR");
}
if (!defined("PHP_HYPHEN")) {
define('PHP_HYPHEN', "-");
}
if (!defined("PHP_IT")) {
define('PHP_IT', "it-IT");
}
if (!defined("PHP_PIPE")) {
define('PHP_PIPE', "|");
}
if (!defined("PHP_FILE_PIPE")) {
define('PHP_FILE_PIPE', ">");
}
if (!defined("PHP_SLASH")) {
define('PHP_SLASH', "/");
}
if (!defined("PHP_SPACE")) {
define('PHP_SPACE', " ");
}
if (!defined("PHP_STR")) {
define('PHP_STR', "");
}
if (!defined("PHP_TILDE")) {
define('PHP_TILDE', "~");
}
if (!defined("PHP_UNDERSCORE")) {
define('PHP_UNDERSCORE', "_");
}
if (!defined("PHP_UPLOAD_ERR_OK")) {
define('PHP_UPLOAD_ERR_OK', 0);
}
if (!defined("PHP_UPLOAD_ERR_INI_SIZE")) {
define('PHP_UPLOAD_ERR_INI_SIZE', 1);
}
if (!defined("PHP_UPLOAD_ERR_FORM_SIZE")) {
define('PHP_UPLOAD_ERR_FORM_SIZE', 2);
}
if (!defined("PHP_UPLOAD_ERR_PARTIAL")) {
define('PHP_UPLOAD_ERR_PARTIAL', 3);
}
if (!defined("PHP_UPLOAD_ERR_NO_FILE")) {
define('PHP_UPLOAD_ERR_NO_FILE', 4);
}
if (!defined("PHP_UPLOAD_ERR_NO_TMP_DIR")) {
define('PHP_UPLOAD_ERR_NO_TMP_DIR', 6);
}
if (!defined("PHP_UPLOAD_ERR_CANT_WRITE")) {
define('PHP_UPLOAD_ERR_CANT_WRITE', 7);
}
if (!defined("PHP_UPLOAD_ERR_EXTENSION")) {
define('PHP_UPLOAD_ERR_EXTENSION', 8);
}
//APP
if (!defined("PUBLIC_CONTEXT_TYPE")) {
define('PUBLIC_CONTEXT_TYPE', 0);
}
if (!defined("PERSONAL_CONTEXT_TYPE")) {
define('PERSONAL_CONTEXT_TYPE', 1);
}