-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- ガベージコレクションでの削除が完全でないためセッションファイルが肥大化するので、gc_divisor を 1 にして確実に削除 - cookieTimeout は、timeout の設定を引き継ぐ仕様のため設定を削除 - セッションの有効期限を `/app/Config/session.php` で簡単に変更できるように調整
- Loading branch information
Showing
2 changed files
with
25 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,23 @@ | ||
<?php | ||
require BASER_CONFIGS .'session.php'; | ||
/** | ||
* baserCMS : Based Website Development Project <http://basercms.net> | ||
* Copyright (c) baserCMS Users Community <http://basercms.net/community/> | ||
* | ||
* @copyright Copyright (c) baserCMS Users Community | ||
* @link http://basercms.net baserCMS Project | ||
* @package Baser.Config | ||
* @since baserCMS v 0.1.0 | ||
* @license http://basercms.net/license/index.html | ||
*/ | ||
|
||
/** | ||
* セッション設定 | ||
*/ | ||
|
||
require BASER_CONFIGS .'session.php'; | ||
|
||
/** | ||
* セッションの有効期限(分) | ||
* デフォルト:2日間 | ||
*/ | ||
//Configure::write('Session.timeout', 60 * 24 * 2); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters