/[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.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  // Neither proxies, nor the clients are allowed to cache session data:  if(!isset($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    
333    function common_get_baseurl() {
334    
335    global $common;
336    
337      return $common['site']['url'];
338    
339    }
340    
341  //------------------------------------------------------------------------------  //------------------------------------------------------------------------------
342    

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

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