Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

1859
 
1863
 
1863
 
session.php
_> 11 <?php
  22 /*
<> 3 -  $Id: session.php 1859 2009-03-06 23:21:50Z hpdl $
   3+  $Id: session.php 1863 2009-03-06 23:53:49Z hpdl $
44 
  55   osCommerce, Open Source E-Commerce Solutions
  66   http://www.oscommerce.com
  77 
<> 8 -  Copyright (c) 2007 osCommerce
   8+  Copyright (c) 2009 osCommerce
99 
  1010   This program is free software; you can redistribute it and/or modify
  1111   it under the terms of the GNU General Public License v2 (1991)
     
 !
7777       if ( SERVICE_SESSION_EXPIRATION_TIME > 0 ) {
  7878         ini_set('session.gc_maxlifetime', SERVICE_SESSION_EXPIRATION_TIME * 60);
  7979       }
<> 80 -    }
8180 
<> 82 -/**
  83 - * Destructor, closes the session
  84 - *
  85 - * @access public
  86 - */
  87 -
  88 -    public function __destruct() {
  89 -      $this->close();
   81+      register_shutdown_function(array($this, 'close'));
<_ 9082     }
  9183 
  9284 /**