Skip to content

Commit

Permalink
Fix flix for kids
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Neto committed Jan 22, 2024
1 parent 8c9c19e commit 51c1553
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions plugin/YouPHPFlix2/view/modeFlixCategory.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
$uid = '{serie_uid}';

$cacheName = "modeFlixCategory" . md5(json_encode($_GET)) . User::getId();
$cacheName .= isForKidsSet()?'forKids':'';

$cache = ObjectYPT::getCache($cacheName, 600);
if (!empty($cache)) {
echo str_replace('{serie_uid}', uniqid(), $cache);
Expand Down
2 changes: 1 addition & 1 deletion plugin/YouPHPFlix2/view/row.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
}
foreach ($videos as $_index => $value) {

$timeLog4Limit = 0.1;
$timeLog4Limit = 0.2;
$timeLog4 = "{$timeLog3} loop {$value['clean_title']}";
TimeLogStart($timeLog4);
$uid = "{$uidOriginal}_{$value['id']}";
Expand Down

0 comments on commit 51c1553

Please sign in to comment.