-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdist.papaya.php
140 lines (107 loc) · 3.65 KB
/
dist.papaya.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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<?php
/*------------------------------------------------------------------------------
Database access
------------------------------------------------------------------------------*/
/**
* Database URI
*/
define('PAPAYA_DB_URI', '${papaya.database.uri}');
/**
* Database URI for Insert/Update/... if different
*/
define('PAPAYA_DB_URI_WRITE', NULL);
/**
* options table name (including prefix)
*/
define('PAPAYA_DB_TBL_OPTIONS', 'papaya_options');
/**
* papaya tables prefix
*/
define('PAPAYA_DB_TABLEPREFIX', 'papaya');
/**
* papaya can use persistent connections (be careful with that option)
*/
define('PAPAYA_DB_CONNECT_PERSISTENT', FALSE);
/*------------------------------------------------------------------------------
Maintenance / Technical problems
------------------------------------------------------------------------------*/
/**
* maintenance mode - show maintenance page
*/
define('PAPAYA_MAINTENANCE_MODE', FALSE);
/**
* maintenance page - (error/maintenance.html)
*/
define('PAPAYA_ERRORDOCUMENT_MAINTENANCE', '');
/**
* technical problems page - (error/503.html) - no framework / no database
*/
define('PAPAYA_ERRORDOCUMENT_503', '');
/*------------------------------------------------------------------------------
Security
------------------------------------------------------------------------------*/
/**
* disable custom http-headers like X-Generator and X-Papaya-Status
*/
define('PAPAYA_DISABLE_XHEADERS', FALSE);
/**
* all to force https handling with a X-Papaya-Https in request header
*/
define('PAPAYA_HEADER_HTTPS_TOKEN', '');
/*------------------------------------------------------------------------------
Session Handling
------------------------------------------------------------------------------*/
/**
* suffix added to the default session name "sid" to handle conflicts
* changes here will require a change in the rewrite rules
*/
define('PAPAYA_SESSION_NAME', '');
/*------------------------------------------------------------------------------
Development
------------------------------------------------------------------------------*/
/**
* development mode - show parse errors for base includes and some other stuff
*/
define('PAPAYA_DBG_DEVMODE', ${papaya.development.active});
/**
* development mode - show parse errors for base includes and some other stuff
*/
define('PAPAYA_DEBUG_LANGUAGE_PHRASES', FALSE);
/*------------------------------------------------------------------------------
Profiling
------------------------------------------------------------------------------*/
/**
* Activate profiler - only possible if xhprof is installed
*/
define('PAPAYA_PROFILER_ACTIVE', FALSE);
/**
* A divisor to define the probability the profiling is done for the current request.
*
* 0 = deactivates profiler (same a PAPAYA_PROFILER_ACTIVE = FALSE)
* 1 = always
* 2 - 99999 = 1/n probability
*/
define('PAPAYA_PROFILER_DIVISOR', 1);
/**
* Storage engine used to save the profiling data
*
* file = files a a defined directory
* xhgui = mysl database table for XH Gui
*/
define('PAPAYA_PROFILER_STORAGE', 'xhgui');
/**
* Directory for profiling file storage - default value is the xhprof.output_dir ini option.
*/
define('PAPAYA_PROFILER_STORAGE_DIRECTORY', NULL);
/**
* Database uri for storage (used by xhgui)
*/
define('PAPAYA_PROFILER_STORAGE_DATABASE', NULL);
/**
* Database table name for storage (used by xhgui)
*/
define('PAPAYA_PROFILER_STORAGE_DATABASE_TABLE', 'details');
/**
* A server identifier (used by xhgui)
*/
define('PAPAYA_PROFILER_SERVER_ID', 'dv1');