diff options
Diffstat (limited to 'inc/poche/Poche.class.php')
-rw-r--r-- | inc/poche/Poche.class.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php index 56910bc0..78747e32 100644 --- a/inc/poche/Poche.class.php +++ b/inc/poche/Poche.class.php | |||
@@ -69,6 +69,10 @@ class Poche | |||
69 | $filter = new Twig_SimpleFilter('getDomain', 'Tools::getDomain'); | 69 | $filter = new Twig_SimpleFilter('getDomain', 'Tools::getDomain'); |
70 | $this->tpl->addFilter($filter); | 70 | $this->tpl->addFilter($filter); |
71 | 71 | ||
72 | # filter for reading time | ||
73 | $filter = new Twig_SimpleFilter('getReadingTime', 'Tools::getReadingTime'); | ||
74 | $this->tpl->addFilter($filter); | ||
75 | |||
72 | # Pagination | 76 | # Pagination |
73 | $this->pagination = new Paginator($this->user->getConfigValue('pager'), 'p'); | 77 | $this->pagination = new Paginator($this->user->getConfigValue('pager'), 'p'); |
74 | } | 78 | } |