/[cvs]/nfo/site/htdocs/inc/common/common.php.inc
ViewVC logotype

Diff of /nfo/site/htdocs/inc/common/common.php.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by joko, Fri Sep 3 22:44:57 2004 UTC revision 1.9 by rabit, Sat Sep 4 01:07:29 2004 UTC
# Line 102  common_benchmark_addstep('common: connec Line 102  common_benchmark_addstep('common: connec
102  //------------------------------------------------------------------------------  //------------------------------------------------------------------------------
103  //- Session setup:  //- Session setup:
104    
105  if ($common['client']['session_enabled']) {  if(!isset($common['client']['session_enabled'])) {
106    
107    // Neither proxies, nor the clients are allowed to cache session data:    // Neither proxies, nor the clients are allowed to cache session data:
108    session_cache_limiter('nocache');    session_cache_limiter('nocache');
# Line 329  global $common; Line 329  global $common;
329    
330  //----------------------------------------------------------  //----------------------------------------------------------
331  //- Utility functions:  //- Utility functions:
332    
333  function common_get_baseurl() {  function common_get_baseurl() {
334    $baseurl = "http://" . $_SERVER['SERVER_NAME'] . "" . $_SERVER['SCRIPT_NAME'] . "/";  
335    return $baseurl;  global $common;
336    
337      return $common['site']['url'];
338    
339  }  }
340    
341  //------------------------------------------------------------------------------  //------------------------------------------------------------------------------

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed