From a4173dd2e979773f9a65b51c20ef0708ba1474d5 Mon Sep 17 00:00:00 2001 From: Marien Fressinaud Date: Sat, 8 Dec 2012 02:50:42 +0100 Subject: On simule la pagination pour optimiser les requêtes en BDD (évite de tout charger puis d'en jeter les 3/4) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/configuration/routes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/configuration') diff --git a/app/configuration/routes.php b/app/configuration/routes.php index e0937731c..fa8c29b3f 100644 --- a/app/configuration/routes.php +++ b/app/configuration/routes.php @@ -3,7 +3,7 @@ return array ( // Index array ( - 'route' => '/\?q=([\w\d\-_]+)&p=([\d+])', + 'route' => '/\?q=([\w\d\-_]+)&p=([\d]+)', 'controller' => 'index', 'action' => 'index', 'params' => array ('get', 'page') -- cgit v1.2.3