Added Kohana v3.0.9
This commit is contained in:
27
includes/kohana/modules/database/config/session.php
Normal file
27
includes/kohana/modules/database/config/session.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php defined('SYSPATH') or die('No direct script access.');
|
||||
|
||||
return array(
|
||||
'database' => array(
|
||||
/**
|
||||
* Database settings for session storage.
|
||||
*
|
||||
* string group configuation group name
|
||||
* string table session table name
|
||||
* integer gc number of requests before gc is invoked
|
||||
* columns array custom column names
|
||||
*/
|
||||
'group' => 'default',
|
||||
'table' => 'sessions',
|
||||
'gc' => 500,
|
||||
'columns' => array(
|
||||
/**
|
||||
* session_id: session identifier
|
||||
* last_active: timestamp of the last activity
|
||||
* contents: serialized session data
|
||||
*/
|
||||
'session_id' => 'session_id',
|
||||
'last_active' => 'last_active',
|
||||
'contents' => 'contents'
|
||||
),
|
||||
),
|
||||
);
|
Reference in New Issue
Block a user