mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
Update
This commit is contained in:
parent
ee7445780b
commit
5f54485f8e
1 changed files with 2 additions and 1 deletions
|
@ -657,10 +657,11 @@ abstract class ObjectYPT implements ObjectInterface
|
|||
if (!empty($global['ignoreAllCache'])) {
|
||||
return null;
|
||||
}
|
||||
self::setLastUsedCacheMode("No cache detected $name, $lifetime, " . intval($ignoreSessionCache));
|
||||
if (isCommandLineInterface()) {
|
||||
self::setLastUsedCacheMode("No cache detected isCommandLineInterface $name, $lifetime, " . intval($ignoreSessionCache));
|
||||
return null;
|
||||
}
|
||||
self::setLastUsedCacheMode("No cache detected $name, $lifetime, " . intval($ignoreSessionCache));
|
||||
if (isBot()) {
|
||||
$lifetime = 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue