forked from extern/egroupware
"some (not-required, so no header update neccessary) updates for the header template"
This commit is contained in:
parent
86368a1903
commit
c906d34880
@ -48,10 +48,10 @@
|
|||||||
$GLOBALS['egw_info']['server']['db_persistent'] = {DB_PERSISTENT};
|
$GLOBALS['egw_info']['server']['db_persistent'] = {DB_PERSISTENT};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** eGroupWare can handle session management using the database or
|
** eGroupWare can handle session management using the database or
|
||||||
** the session support built into PHP4 which usually gives better
|
** the session support built into PHP4 which usually gives better
|
||||||
** performance.
|
** performance.
|
||||||
** Your choices are 'db' or 'php4'
|
** Your choices are 'db', 'php4' or 'php4-restore'
|
||||||
*/
|
*/
|
||||||
$GLOBALS['egw_info']['server']['sessions_type'] = '{SESSIONS_TYPE}';
|
$GLOBALS['egw_info']['server']['sessions_type'] = '{SESSIONS_TYPE}';
|
||||||
|
|
||||||
@ -79,7 +79,7 @@
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
// allow caching by browser
|
// allow caching by browser
|
||||||
session_cache_limiter(PHP_VERSION >= 4.2 ? 'private_no_expire' : 'private');
|
session_cache_limiter('private_no_expire');
|
||||||
}
|
}
|
||||||
|
|
||||||
/* debugging settings */
|
/* debugging settings */
|
||||||
@ -90,12 +90,7 @@
|
|||||||
define('DEBUG_OUTPUT', 2); /* 1 = screen, 2 = DB. For both use 3. */
|
define('DEBUG_OUTPUT', 2); /* 1 = screen, 2 = DB. For both use 3. */
|
||||||
define('DEBUG_TIMER', False);
|
define('DEBUG_TIMER', False);
|
||||||
|
|
||||||
function perfgetmicrotime()
|
$GLOBALS['egw_info']['flags']['page_start_time'] = microtime(true);
|
||||||
{
|
|
||||||
list($usec, $sec) = explode(' ',microtime());
|
|
||||||
return ((float)$usec + (float)$sec);
|
|
||||||
}
|
|
||||||
$GLOBALS['egw_info']['flags']['page_start_time'] = perfgetmicrotime();
|
|
||||||
|
|
||||||
/**************************************************************************\
|
/**************************************************************************\
|
||||||
* Do not edit these lines *
|
* Do not edit these lines *
|
||||||
|
Loading…
Reference in New Issue
Block a user