From 2d4cfc58ec324987ad39365cbb3e4eb49df4e426 Mon Sep 17 00:00:00 2001 From: Mariusz Kozakowski <11mariom+wordpress@gmail.com> Date: Wed, 17 Sep 2014 18:44:29 +0200 Subject: Add support for custom http port Now you can use wallabag behind reverse proxy (i.e Squid or Varnish) without problem with urls like wallabag.example.com:8080. --- inc/poche/Tools.class.php | 1 + 1 file changed, 1 insertion(+) (limited to 'inc/poche/Tools.class.php') diff --git a/inc/poche/Tools.class.php b/inc/poche/Tools.class.php index 93ec3fc6..beb4f30c 100755 --- a/inc/poche/Tools.class.php +++ b/inc/poche/Tools.class.php @@ -51,6 +51,7 @@ final class Tools $serverport = (!isset($_SERVER["SERVER_PORT"]) || $_SERVER["SERVER_PORT"] == '80' + || $_SERVER["SERVER_PORT"] == HTTP_PORT || ($https && $_SERVER["SERVER_PORT"] == '443') || ($https && $_SERVER["SERVER_PORT"]==SSL_PORT) //Custom HTTPS port detection ? '' : ':' . $_SERVER["SERVER_PORT"]); -- cgit v1.2.3 From 3c133bff4978de20e3f51e1b908790138e97e412 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Mon, 3 Nov 2014 07:44:56 +0100 Subject: add about page --- inc/poche/Tools.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/poche/Tools.class.php') diff --git a/inc/poche/Tools.class.php b/inc/poche/Tools.class.php index beb4f30c..f803e3b5 100755 --- a/inc/poche/Tools.class.php +++ b/inc/poche/Tools.class.php @@ -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'); -- cgit v1.2.3