joomla_test/libraries/joomla/session/storage/none.php

34 lines
730 B
PHP
Raw Normal View History

2020-01-02 22:20:31 +07:00
<?php
/**
* @package Joomla.Platform
* @subpackage Session
*
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
defined('JPATH_PLATFORM') or die;
/**
* File session handler for PHP
*
* @package Joomla.Platform
* @subpackage Session
* @see http://www.php.net/manual/en/function.session-set-save-handler.php
* @since 11.1
*/
class JSessionStorageNone extends JSessionStorage
{
/**
* Register the functions of this class with PHP's session handler
*
* @return void
*
* @since 11.1
*/
public function register()
{
ini_set('session.save_handler', 'files');
}
}