From ae3073db3ac9bf793055e89767eedb69132fa810 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Wed, 4 Nov 2020 12:46:54 +0000 Subject: [PATCH] wait #4021 @0:10 --- inc/ws/Controlleur/class.ws.url.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/inc/ws/Controlleur/class.ws.url.php b/inc/ws/Controlleur/class.ws.url.php index 5483dbc1f..f78adf09d 100644 --- a/inc/ws/Controlleur/class.ws.url.php +++ b/inc/ws/Controlleur/class.ws.url.php @@ -1121,12 +1121,12 @@ html.tall{height:150%}' . "\n"; if ($q != '') { $q = '?' . $q; } - if (count($e) == 2) { + $limit = time() - 60; + if (count($e) <= 2 || $e[2] < $limit) { $e[2] = $time; $daoTheme = new wsDAOTheme($core->con); $theme = $daoTheme->getThemeOfBook($book_id, true); self::loadingCompile(SITE_PATH . 'viewerh/' . implode('_', $e) . '/' . $q, $book, $theme); - //http::redirect(SITE_PATH . 'viewerh/' . implode('_', $e) . '/' . $q); exit; } $CrawlerDetect = new Jaybizzle\CrawlerDetect\CrawlerDetect(); @@ -1167,8 +1167,12 @@ html,body{height:100%;cursor: wait;font-family: "Open Sans", Arial;background-co animation-iteration-count: infinite; animation-timing-function: linear;}'; $res .= ''; + $res .= ''; $res .= ''; - $res .= ''; + $res .= ''; $res .= '