Toggle navigation
Toggle navigation
This project
Loading...
Sign in
web
/
hood
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
ziy
2015-12-15 19:45:06 +0800
Commit
093af0be4239587c76e440c0462e76fa39f9643d
1 parent
bc96736f
修改缓存状态,
mysql 默认打开 pg默认关闭
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletions
Hood/Core/Root.php
Hood/Dao/Db/PostgreSQL/PDOConnection.php
Hood/Core/Root.php
View file @
093af0b
...
...
@@ -36,7 +36,7 @@ class Root
* 缓存
* @var bool
*/
protected
$_cacheStatus
=
fals
e
;
protected
$_cacheStatus
=
tru
e
;
/**
* 缓存key
...
...
Hood/Dao/Db/PostgreSQL/PDOConnection.php
View file @
093af0b
...
...
@@ -22,6 +22,13 @@ use Hood\Cache as hoodCache;
*/
class
PDOConnection
extends
Root
{
/**
* 关闭缓存
* @var bool
*/
protected
$_cacheStatus
=
false
;
/**
* 数据库连接池
* @var array
...
...
Please
register
or
login
to post a comment