mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
Update
This commit is contained in:
parent
add0e6920f
commit
b5949907cb
2 changed files with 4 additions and 2 deletions
|
@ -646,8 +646,8 @@ abstract class ObjectYPT implements ObjectInterface
|
|||
if (!empty($_GET['lifetime'])) {
|
||||
$lifetime = intval($_GET['lifetime']);
|
||||
}
|
||||
|
||||
if (empty($ignoreSessionCache)) {
|
||||
|
||||
if (empty($ignoreSessionCache) && empty($global['ignoreSessionCache'])) {
|
||||
$session = self::getSessionCache($name, $lifetime);
|
||||
if (!empty($session)) {
|
||||
self::setLastUsedCacheMode("Session cache \$_SESSION['user']['sessionCache'][$name]");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue