]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - inc/poche/Poche.class.php
change doc link
[github/wallabag/wallabag.git] / inc / poche / Poche.class.php
index 8f54267dfa1f9883cb660c045f43713085566c94..1ba8e7c14d39d8edfac2fa72e5d0e9431d1fab3d 100644 (file)
@@ -105,7 +105,7 @@ class Poche
     public function themeIsInstalled() {
         # Twig is an absolute requirement for Poche to function. Abort immediately if the Composer installer hasn't been run yet
         if (! self::$canRenderTemplates) {
-            $this->notInstalledMessage = 'Twig does not seem to be installed. Please initialize the Composer installation to automatically fetch dependencies. Have a look at <a href="http://inthepoche.com/?pages/Documentation">the documentation.</a>';
+            $this->notInstalledMessage = 'Twig does not seem to be installed. Please initialize the Composer installation to automatically fetch dependencies. Have a look at <a href="http://doc.inthepoche.com/doku.php?id=users:begin:install">the documentation.</a>';
             
             return false;
         }
@@ -407,11 +407,6 @@ class Poche
                     'page_links' => '',
                     'nb_results' => '',
                 );
-
-                # want to display a page too far?
-                if ((count($entries) % PAGINATION) + 1 < $_GET['p']) {
-                    Tools::redirect('');
-                }
                 
                 if (count($entries) > 0) {
                     $this->pagination->set_total(count($entries));