mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
Merge pull request #585 from hmczju/patch-2
修复Session::prefix('xxx');设置当前作用域BUG
This commit is contained in:
@@ -56,7 +56,7 @@ class Session
|
||||
$isDoStart = true;
|
||||
}
|
||||
|
||||
if (isset($config['prefix'])) {
|
||||
if (isset($config['prefix']) && (self::$prefix === '' || self::$prefix === null)) {
|
||||
self::$prefix = $config['prefix'];
|
||||
}
|
||||
if (isset($config['var_session_id']) && isset($_REQUEST[$config['var_session_id']])) {
|
||||
|
||||
Reference in New Issue
Block a user