forked from wallabag/wallabag
@ -314,6 +314,8 @@ class Poche
|
||||
|
||||
switch ($view)
|
||||
{
|
||||
case 'about':
|
||||
break;
|
||||
case 'config':
|
||||
$dev_infos = $this->_getPocheVersion('dev');
|
||||
$dev = trim($dev_infos[0]);
|
||||
|
||||
@ -117,7 +117,7 @@ final class Tools
|
||||
{
|
||||
$views = array(
|
||||
'install', 'import', 'export', 'config', 'tags',
|
||||
'edit-tags', 'view', 'login', 'error'
|
||||
'edit-tags', 'view', 'login', 'error', 'about'
|
||||
);
|
||||
|
||||
return (in_array($view, $views) ? $view . '.twig' : 'home.twig');
|
||||
|
||||
Reference in New Issue
Block a user