From 9194f2347b6b56139655019d340481013fccffb5 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Fri, 20 Sep 2013 08:57:17 +0000 Subject: [PATCH] --- inc/ws/Controlleur/class.ws.services.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/inc/ws/Controlleur/class.ws.services.php b/inc/ws/Controlleur/class.ws.services.php index 4904aa13e..176a8f1a3 100644 --- a/inc/ws/Controlleur/class.ws.services.php +++ b/inc/ws/Controlleur/class.ws.services.php @@ -618,7 +618,7 @@ class wsServices extends cubeFlashGateway { $limit = TIME - 72000; if (!file_exists($cache) || !file_exists($update) || filemtime($cache) < $limit) { - $r = $core->con->select('SELECT * FROM book_collection_compile WHERE online_'.$os.'=1 AND collection_id=\'' . $core->con->escape($id) . '\''); + $r = $core->con->select('SELECT * FROM book_collection_compile WHERE online_' . $os . '=1 AND collection_id=\'' . $core->con->escape($id) . '\''); $r->fetch(); $version = $r->compile_date; @@ -779,6 +779,8 @@ class wsServices extends cubeFlashGateway { $reg[$var] = array('^' . $r . 'data/background/\d+/t' . $i . '.jpg$', '^' . $r . 'data/contents/p' . $i . '.svg$'); } $reg['urgents'] = array('^' . $r . 'images/(.*)$', '^' . $r . 'data/images/(.*)$'); + $reg['loading'] = array_merge($reg['loading'], $reg['urgents']); + $exclude = array(); if ($resolution == 150) { $er = 300; -- 2.39.5