Core
3.2
PHP API documentation
Go to the documentation of this file.
46 "CORE_LOGLEVEL" =>
"WEF",
48 "val" =>
"3.2.26-1.20191010.152903",
49 "descr" =>
N_(
"application version") ,
52 "CORE_FRONTPAGE" => array(
54 "descr" =>
N_(
"Dynacase frontpage description") ,
58 "val" =>
"3.2.26-1.20191010.152903",
59 "descr" =>
N_(
"version identificator") ,
63 "USE_FREEDOM_USER" => array(
65 "descr" =>
N_(
"use dynacase user management") ,
66 "kind" =>
"enum(yes|no)",
71 "descr" =>
N_(
"default style") ,
77 "descr" =>
N_(
"font size") ,
79 "kind" =>
"enum(small|normal|large|x-large)"
81 "CORE_TMPDIR" =>
"./var/tmp",
82 "CORE_TMPDIR_MAXAGE" => array(
84 "descr" =>
N_(
"core_tmpdir_maxage") ,
88 "CORE_TMPDOC_MAXAGE" => array(
90 "descr" =>
N_(
"core_tmpdoc_maxage") ,
94 "CORE_DBCONNECT" => array(
95 "val" =>
"unpersistent",
96 "descr" =>
N_(
"connection type") ,
102 "CORE_SQLSTRICT" => array(
104 "descr" =>
N_(
"stop on sql error") ,
107 "kind" =>
"enum(yes|no)",
111 "CORE_BGCOLOR" => array(
112 "val" =>
"url('CORE/Images/bg.gif')",
113 "descr" =>
N_(
"background color or image") ,
115 "kind" =>
"readonly",
119 "CORE_SSLBGCOLOR" => array(
120 "val" =>
"url('CORE/Images/bgssl.gif')",
121 "descr" =>
N_(
"background color or image in security mode") ,
123 "kind" =>
"readonly",
127 "CORE_FGIMG" => array(
129 "descr" =>
N_(
"background image for bar") ,
135 "CORE_FGIMGMENU" => array(
137 "descr" =>
N_(
"background image for menu") ,
143 "CORE_BGCELLCOLOR" => array(
145 "descr" =>
N_(
"background color for table cells") ,
147 "kind" =>
"readonly",
151 "CORE_BGCOLORALTERN" => array(
153 "descr" =>
N_(
"second background color") ,
155 "kind" =>
"readonly",
159 "CORE_BGCOLORHIGH" => array(
160 "val" =>
"lightsteelblue",
161 "descr" =>
N_(
"highlight background color") ,
163 "kind" =>
"readonly",
167 "CORE_FGCOLOR" => array(
168 "val" =>
"darkslateblue",
169 "descr" =>
N_(
"inverse video background color") ,
171 "kind" =>
"readonly",
175 "CORE_TEXTFGCOLOR" => array(
177 "descr" =>
N_(
"text color") ,
179 "kind" =>
"readonly",
183 "CORE_TEXTBGCOLOR" => array(
185 "descr" =>
N_(
"inverse video color text") ,
187 "kind" =>
"readonly",
191 "CORE_INPUTBGCOLOR" => array(
193 "descr" =>
N_(
"input color bg") ,
195 "kind" =>
"readonly",
199 "CORE_ACOLOR" => array(
200 "val" =>
"dodgerblue",
201 "descr" =>
N_(
"anchor color") ,
203 "kind" =>
"readonly",
207 "CORE_ERRORCOLOR" => array(
209 "descr" =>
N_(
"error color") ,
211 "kind" =>
"readonly",
216 "HELP_PUBURL" => array(
218 "descr" =>
N_(
"top url to find help documentation") ,
224 "CORE_FULLWIDTH" => array(
226 "descr" =>
N_(
"frame size") ,
231 "CORE_SEPWIDTH" => array(
233 "descr" =>
N_(
"frame border size") ,
239 "CORE_CLIENT" => array(
240 "val" =>
"<N O M D U C L I E N T>",
241 "descr" =>
N_(
"client name") ,
246 "DYNACASE_FAVICO" => array(
247 "val" =>
"CORE/Images/dynacase.ico",
248 "descr" =>
N_(
"Dynacase pages favico") ,
253 "CORE_LOGOCLIENT" => array(
254 "val" =>
"CORE/Images/logo-mini.png",
255 "descr" =>
N_(
"client logo") ,
260 "CORE_URLINDEX" => array(
262 "descr" =>
N_(
"url to reach http server index") ,
267 "CORE_OPENURL" => array(
269 "descr" =>
N_(
"url to reach http server index in open mode") ,
274 "MEMORY_LIMIT" => array(
276 "descr" =>
N_(
"memory max for PHP in Mo") ,
281 "CORE_SOCSTYLE" => array(
283 "descr" =>
N_(
"society style") ,
287 "CORE_PLUGZONE" => array(
289 "descr" =>
N_(
"plug inserted in footer") ,
293 "CORE_PASSWDDELAY" => array(
295 "descr" =>
N_(
"default delay before expiration of password in day") ,
299 "CORE_REALM" => array(
301 "descr" =>
N_(
"realm name for http authenticate") ,
305 "CORE_MOTD" => array(
307 "descr" =>
N_(
"mot of the day") ,
311 "CORE_ICONSIZE" => array(
313 "descr" =>
N_(
"icon size") ,
316 "kind" =>
"readonly",
319 "CORE_LOGDURATION" => array(
321 "descr" =>
N_(
"duration for log conservation (in days)") ,
326 "CORE_MAIL_LINK" => array(
328 "descr" =>
N_(
"produce link for") ,
330 "kind" =>
"enum(optimal|mailto)",
333 "CORE_START_APP" => array(
335 "descr" =>
N_(
"default start application") ,
340 "CORE_SESSIONTTL" => array(
342 "descr" =>
N_(
"core_sessionttl") ,
346 "CORE_GUEST_SESSIONTTL" => array(
348 "descr" =>
N_(
"core_guest_sessionttl") ,
353 "CORE_SESSIONMAXAGE" => array(
355 "descr" =>
N_(
"core_sessionmaxage") ,
358 "kind" =>
"enum(1 day|1 week|1 month)"
360 "CORE_SESSIONGCPROBABILITY" => array(
362 "descr" =>
N_(
"core_sessiongcprobability") ,
366 "CORE_SESSION_BYTE_LENGTH" => array(
368 "descr" =>
N_(
"core_session_byte_length") ,
373 "CORE_LAYOUT_EXECUTE_RECURSION_LIMIT" => array(
375 "descr" =>
N_(
"core_layout_execute_recursion_limit") ,
380 "CORE_ALLOW_GUEST" => array(
382 "descr" =>
N_(
"Allow guest access") ,
383 "kind" =>
"enum(yes|no)",
386 "CORE_MAILACTION" => array(
388 "descr" =>
N_(
"Mail action URL") ,
392 "CORE_NOTIFY_SENDMAIL" => array(
394 "descr" =>
N_(
"Show a notification when a mail is sent") ,
395 "kind" =>
"enum(always|errors only|never)",
400 "CORE_WSH_MAILTO" => array(
402 "descr" =>
N_(
"WSH error mail recipients (comma-separated list of mail addresses)") ,
406 "CORE_WSH_MAILSUBJECT" => array(
407 "val" =>
"[%h](%c) Script error: %m",
408 "descr" =>
N_(
"WSH error mail subject") ,
412 "CORE_DISPLAY_ERROR" => array(
414 "descr" =>
N_(
"Display errors in request response") ,
416 "kind" =>
"enum(yes|no)",
421 if (file_exists(
'WHAT/Lib.Prefix.php')) {
422 include_once (
'WHAT/Lib.Prefix.php');
424 if (file_exists(
'CORE/lang.php')) {
425 include_once (
"CORE/lang.php");
430 foreach (
$lang as $k => $v) {
433 $ll = implode(
"|", $tl);
436 "descr" =>
N_(
"language") ,
439 "kind" =>
"enum(" . $ll .
")",