Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
顶想
framework
Commits
04cb0b7a
Commit
04cb0b7a
authored
6 years ago
by
刘晨
Browse files
Options
Downloads
Patches
Plain Diff
改进缓存类tag方法
parent
b6fd8848
Branches
Branches containing commit
Tags
v5.1.37
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
library/think/App.php
+1
-1
library/think/App.php
library/think/cache/Driver.php
+0
-2
library/think/cache/Driver.php
with
1 addition
and
3 deletions
library/think/App.php
+
1
−
1
View file @
04cb0b7a
...
...
@@ -20,7 +20,7 @@ use think\route\Dispatch;
*/
class
App
extends
Container
{
const
VERSION
=
'5.1.3
6
LTS'
;
const
VERSION
=
'5.1.3
7
LTS'
;
/**
* 当前模块路径
...
...
This diff is collapsed.
Click to expand it.
library/think/cache/Driver.php
+
0
−
2
View file @
04cb0b7a
...
...
@@ -249,7 +249,6 @@ abstract class Driver
{
if
(
$this
->
tag
)
{
$key
=
$this
->
getTagkey
(
$this
->
tag
);
$prev
=
$this
->
tag
;
$this
->
tag
=
null
;
if
(
$this
->
has
(
$key
))
{
...
...
@@ -266,7 +265,6 @@ abstract class Driver
}
$this
->
set
(
$key
,
$value
,
0
);
$this
->
tag
=
$prev
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets