-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathphpstan-bootstrap.php
More file actions
69 lines (54 loc) · 1.4 KB
/
Copy pathphpstan-bootstrap.php
File metadata and controls
69 lines (54 loc) · 1.4 KB
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
<?php
if (!defined("SDF_BENCHMARK")) {
define("SDF_BENCHMARK", true);
}
if (!defined("SDF_ROOT")) {
define("SDF_ROOT", __DIR__);
}
if (!defined("SDF_DIR")) {
define("SDF_DIR", SDF_ROOT . "/sdf/");
}
if (!defined("SDF_APP")) {
define("SDF_APP", SDF_ROOT . "/app/");
}
if (!defined("SDF_APP_CONF")) {
define("SDF_APP_CONF", SDF_APP . "config/");
}
if (!defined("SDF_APP_CONT")) {
define("SDF_APP_CONT", SDF_APP . "controllers/");
}
if (!defined("SDF_APP_VIEW")) {
define("SDF_APP_VIEW", SDF_APP . "views/");
}
if (!defined("SDF_APP_HELP")) {
define("SDF_APP_HELP", SDF_APP . "helpers/");
}
if (!defined("SDF_APP_LIB")) {
define("SDF_APP_LIB", SDF_APP . "libraries/");
}
if (!defined("SDF_APP_MODL")) {
define("SDF_APP_MODL", SDF_APP . "models/");
}
if (!defined("USE_FUSE")) {
define("USE_FUSE", false);
}
if (!defined("SDF_STATIC_MIMES")) {
define("SDF_STATIC_MIMES", [
".ttf" => "font/ttf",
".woff" => "font/woff",
".woff2" => "font/woff2",
".svg" => "image/svg+xml",
".png" => "image/png",
".jpg" => "image/jpg",
".jpeg" => "image/jpeg",
".css" => "text/css",
".js" => "text/javascript",
]);
}
if (!defined("SDF_EH_404")) {
define("SDF_EH_404", "eh_pathNotFound");
}
if (!defined("SDF_EH_405")) {
define("SDF_EH_405", "eh_methodNotAllowed");
}
require_once SDF_DIR . "constants.php";