/[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.7 by rabit, Wed Sep 1 08:58:40 2004 UTC revision 1.8 by joko, Fri Sep 3 22:44:57 2004 UTC
# Line 102  common_benchmark_addstep('common: connec Line 102  common_benchmark_addstep('common: connec
102  //------------------------------------------------------------------------------  //------------------------------------------------------------------------------
103  //- Session setup:  //- Session setup:
104    
105  // Neither proxies, nor the clients are allowed to cache session data:  if ($common['client']['session_enabled']) {
 session_cache_limiter('nocache');  
106    
107  // This is neccessary to make the $_SESSION global available:    // Neither proxies, nor the clients are allowed to cache session data:
108  session_start();    session_cache_limiter('nocache');
109    
110      // This is neccessary to make the $_SESSION global available:
111      session_start();
112    
113    }
114    
115  common_benchmark_addstep('common: session init');  common_benchmark_addstep('common: session init');
116    
# Line 323  global $common; Line 327  global $common;
327  //----------------------------------------------------------  //----------------------------------------------------------
328  //- File functions:  //- File functions:
329    
330    //----------------------------------------------------------
331    //- Utility functions:
332    function common_get_baseurl() {
333      $baseurl = "http://" . $_SERVER['SERVER_NAME'] . "" . $_SERVER['SCRIPT_NAME'] . "/";
334      return $baseurl;
335    }
336    
337  //------------------------------------------------------------------------------  //------------------------------------------------------------------------------
338    

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

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