1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00
This commit is contained in:
Daniel Neto 2024-08-28 22:54:59 -03:00
parent ee7445780b
commit 5f54485f8e

View file

@ -657,10 +657,11 @@ abstract class ObjectYPT implements ObjectInterface
if (!empty($global['ignoreAllCache'])) { if (!empty($global['ignoreAllCache'])) {
return null; return null;
} }
self::setLastUsedCacheMode("No cache detected $name, $lifetime, " . intval($ignoreSessionCache));
if (isCommandLineInterface()) { if (isCommandLineInterface()) {
self::setLastUsedCacheMode("No cache detected isCommandLineInterface $name, $lifetime, " . intval($ignoreSessionCache));
return null; return null;
} }
self::setLastUsedCacheMode("No cache detected $name, $lifetime, " . intval($ignoreSessionCache));
if (isBot()) { if (isBot()) {
$lifetime = 0; $lifetime = 0;
} }