Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
oxOnRoids
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
oxid-esales
oxOnRoids
Commits
6fb30833
Commit
6fb30833
authored
Jan 12, 2019
by
Hannes Peterseim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
just a bugfix
parent
31318ba4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
cacheService.php
src/service/cacheService.php
+4
-4
No files found.
src/service/cacheService.php
View file @
6fb30833
...
...
@@ -56,10 +56,10 @@ class cacheService
if
(
!
$this
->
denyForCheckout
()
&&
!
$this
->
denyForAdminArea
()
&&
!
$this
->
denyByParam
())
{
if
(
$this
->
cS
===
null
)
{
if
(
$
o
Config
->
getConfigParam
(
'oorCachingBackend'
)
==
'Memcache'
)
{
if
(
$
this
->
my
Config
->
getConfigParam
(
'oorCachingBackend'
)
==
'Memcache'
)
{
$this
->
cS
=
new
memcacheConnector
();
}
else
{
if
(
$
o
Config
->
getConfigParam
(
'oorCachingBackend'
)
==
'Redis'
)
{
if
(
$
this
->
my
Config
->
getConfigParam
(
'oorCachingBackend'
)
==
'Redis'
)
{
$this
->
cS
=
new
redisConnector
();
}
}
...
...
@@ -71,7 +71,7 @@ class cacheService
$dataType
.=
"_
{
$aLimit
[
1
]
}
/
{
$aLimit
[
0
]
}
"
;
}
$cSKey
=
$dataType
.
'_'
.
$myConfig
->
getShopId
()
.
'_'
.
md5
(
$sSql
);
$cSKey
=
$dataType
.
'_'
.
$
this
->
myConfig
->
getShopId
()
.
'_'
.
md5
(
$sSql
);
if
(
$this
->
cS
->
get
(
$cSKey
))
{
if
(
$this
->
myConfig
->
getConfigParam
(
'oorShowDebug'
))
{
...
...
@@ -85,7 +85,7 @@ class cacheService
$aData
=
$this
->
_execQuery
(
$getType
,
$sSql
,
$aLimit
);
$this
->
cS
->
set
(
$cSKey
,
serialize
(
$aData
),
$
o
Config
->
getConfigParam
(
'oor'
.
ucfirst
(
$dataType
)
.
'Ttl'
));
$this
->
cS
->
set
(
$cSKey
,
serialize
(
$aData
),
$
this
->
my
Config
->
getConfigParam
(
'oor'
.
ucfirst
(
$dataType
)
.
'Ttl'
));
}
}
else
{
if
(
$this
->
myConfig
->
getConfigParam
(
'oorShowDebug'
))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment