mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 15:02:47 +08:00
修正
This commit is contained in:
@@ -38,7 +38,7 @@ class Cookie
|
|||||||
public static function init(array $config = [])
|
public static function init(array $config = [])
|
||||||
{
|
{
|
||||||
if (empty($config)) {
|
if (empty($config)) {
|
||||||
$config = Config::get('session');
|
$config = Config::get('cookie');
|
||||||
}
|
}
|
||||||
self::$config = array_merge(self::$config, array_change_key_case($config));
|
self::$config = array_merge(self::$config, array_change_key_case($config));
|
||||||
if (!empty(self::$config['httponly'])) {
|
if (!empty(self::$config['httponly'])) {
|
||||||
|
|||||||
Reference in New Issue
Block a user