mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 23:02:48 +08:00
改进Handle类支持异常的多语言 Lang类增加has方法 增加核心中文语言包
This commit is contained in:
@@ -42,7 +42,7 @@ class Redis extends SessionHandler
|
||||
{
|
||||
// 检测php环境
|
||||
if (!extension_loaded('redis')) {
|
||||
throw new Exception('_NOT_SUPPERT_:redis');
|
||||
throw new Exception('not support:redis');
|
||||
}
|
||||
$this->handler = new \Redis;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user