[ Index ] |
|
Code source de Zen Cart E-Commerce Shopping Cart 1.3.7.1 |
1 <?php 2 /** 3 * @package admin 4 * @copyright Copyright 2003-2006 Zen Cart Development Team 5 * @copyright Portions Copyright 2003 osCommerce 6 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 7 * @version $Id: init_sessions.php 3001 2006-02-09 21:45:06Z wilt $ 8 */ 9 if (!defined('IS_ADMIN_FLAG')) { 10 die('Illegal Access'); 11 } 12 // define how the session functions will be used 13 require(DIR_FS_CATALOG . DIR_WS_FUNCTIONS . 'sessions.php'); 14 15 if (SESSION_USE_FQDN == 'False') $current_domain = '.' . $current_domain; 16 zen_session_name('zenAdminID'); 17 zen_session_save_path(SESSION_WRITE_DIRECTORY); 18 19 // set the session cookie parameters 20 // if (function_exists('session_set_cookie_params')) { 21 session_set_cookie_params(0, '/', (zen_not_null($current_domain) ? $current_domain : '')); 22 // } elseif (function_exists('ini_set')) { 23 // @ini_set('session.cookie_lifetime', '0'); 24 // @ini_set('session.cookie_path', DIR_WS_ADMIN); 25 // } 26 27 // lets start our session 28 zen_session_start(); 29 $session_started = true; 30 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Mon Nov 26 16:45:43 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |