forked from htmlburger/wpemerge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.php
125 lines (98 loc) · 3.82 KB
/
config.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
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<?php
/**
* @package WPEmerge
* @author Atanas Angelov <[email protected]>
* @copyright 2017-2019 Atanas Angelov
* @license https://www.gnu.org/licenses/gpl-2.0.html GPL-2.0
* @link https://wpemerge.com/
*/
/**
* Current version.
*/
if ( ! defined( 'WPEMERGE_VERSION' ) ) {
define( 'WPEMERGE_VERSION', '0.16.0' );
}
/**
* Absolute path to application's directory.
*/
if ( ! defined( 'WPEMERGE_DIR' ) ) {
define( 'WPEMERGE_DIR', __DIR__ );
}
/**
* Service container keys.
*/
if ( ! defined( 'WPEMERGE_CONFIG_KEY' ) ) {
define( 'WPEMERGE_CONFIG_KEY', 'wpemerge.config' );
}
if ( ! defined( 'WPEMERGE_APPLICATION_KEY' ) ) {
define( 'WPEMERGE_APPLICATION_KEY', 'wpemerge.application.application' );
}
if ( ! defined( 'WPEMERGE_APPLICATION_GENERIC_FACTORY_KEY' ) ) {
define( 'WPEMERGE_APPLICATION_GENERIC_FACTORY_KEY', 'wpemerge.application.generic_factory' );
}
if ( ! defined( 'WPEMERGE_APPLICATION_CLOSURE_FACTORY_KEY' ) ) {
define( 'WPEMERGE_APPLICATION_CLOSURE_FACTORY_KEY', 'wpemerge.application.closure_factory' );
}
if ( ! defined( 'WPEMERGE_APPLICATION_FILESYSTEM_KEY' ) ) {
define( 'WPEMERGE_APPLICATION_FILESYSTEM_KEY', 'wpemerge.application.filesystem' );
}
if ( ! defined( 'WPEMERGE_HELPERS_HANDLER_FACTORY_KEY' ) ) {
define( 'WPEMERGE_HELPERS_HANDLER_FACTORY_KEY', 'wpemerge.handlers.helper_factory' );
}
if ( ! defined( 'WPEMERGE_WORDPRESS_HTTP_KERNEL_KEY' ) ) {
define( 'WPEMERGE_WORDPRESS_HTTP_KERNEL_KEY', 'wpemerge.kernels.wordpress_http_kernel' );
}
if ( ! defined( 'WPEMERGE_SESSION_KEY' ) ) {
define( 'WPEMERGE_SESSION_KEY', 'wpemerge.session' );
}
if ( ! defined( 'WPEMERGE_REQUEST_KEY' ) ) {
define( 'WPEMERGE_REQUEST_KEY', 'wpemerge.request' );
}
if ( ! defined( 'WPEMERGE_RESPONSE_KEY' ) ) {
define( 'WPEMERGE_RESPONSE_KEY', 'wpemerge.response' );
}
if ( ! defined( 'WPEMERGE_EXCEPTIONS_ERROR_HANDLER_KEY' ) ) {
define( 'WPEMERGE_EXCEPTIONS_ERROR_HANDLER_KEY', 'wpemerge.exceptions.error_handler' );
}
if ( ! defined( 'WPEMERGE_EXCEPTIONS_CONFIGURATION_ERROR_HANDLER_KEY' ) ) {
define( 'WPEMERGE_EXCEPTIONS_CONFIGURATION_ERROR_HANDLER_KEY', 'wpemerge.exceptions.configuration_error_handler' );
}
if ( ! defined( 'WPEMERGE_RESPONSE_SERVICE_KEY' ) ) {
define( 'WPEMERGE_RESPONSE_SERVICE_KEY', 'wpemerge.responses.response_service' );
}
if ( ! defined( 'WPEMERGE_ROUTING_ROUTER_KEY' ) ) {
define( 'WPEMERGE_ROUTING_ROUTER_KEY', 'wpemerge.routing.router' );
}
if ( ! defined( 'WPEMERGE_ROUTING_ROUTE_BLUEPRINT_KEY' ) ) {
define( 'WPEMERGE_ROUTING_ROUTE_BLUEPRINT_KEY', 'wpemerge.routing.route_registrar' );
}
if ( ! defined( 'WPEMERGE_ROUTING_CONDITIONS_CONDITION_FACTORY_KEY' ) ) {
define( 'WPEMERGE_ROUTING_CONDITIONS_CONDITION_FACTORY_KEY', 'wpemerge.routing.conditions.condition_factory' );
}
if ( ! defined( 'WPEMERGE_ROUTING_CONDITION_TYPES_KEY' ) ) {
define( 'WPEMERGE_ROUTING_CONDITION_TYPES_KEY', 'wpemerge.routing.conditions.condition_types' );
}
if ( ! defined( 'WPEMERGE_VIEW_SERVICE_KEY' ) ) {
define( 'WPEMERGE_VIEW_SERVICE_KEY', 'wpemerge.view.view_service' );
}
if ( ! defined( 'WPEMERGE_VIEW_COMPOSE_ACTION_KEY' ) ) {
define( 'WPEMERGE_VIEW_COMPOSE_ACTION_KEY', 'wpemerge.view.view_compose_action' );
}
if ( ! defined( 'WPEMERGE_VIEW_ENGINE_KEY' ) ) {
define( 'WPEMERGE_VIEW_ENGINE_KEY', 'wpemerge.view.view_engine' );
}
if ( ! defined( 'WPEMERGE_VIEW_PHP_VIEW_ENGINE_KEY' ) ) {
define( 'WPEMERGE_VIEW_PHP_VIEW_ENGINE_KEY', 'wpemerge.view.php_view_engine' );
}
if ( ! defined( 'WPEMERGE_SERVICE_PROVIDERS_KEY' ) ) {
define( 'WPEMERGE_SERVICE_PROVIDERS_KEY', 'wpemerge.service_providers' );
}
if ( ! defined( 'WPEMERGE_FLASH_KEY' ) ) {
define( 'WPEMERGE_FLASH_KEY', 'wpemerge.flash.flash' );
}
if ( ! defined( 'WPEMERGE_OLD_INPUT_KEY' ) ) {
define( 'WPEMERGE_OLD_INPUT_KEY', 'wpemerge.old_input.old_input' );
}
if ( ! defined( 'WPEMERGE_CSRF_KEY' ) ) {
define( 'WPEMERGE_CSRF_KEY', 'wpemerge.csrf.csrf' );
}