From 875b48899c04ef1f4ce1c767178c70f9c09c224d Mon Sep 17 00:00:00 2001 From: Gregory Soutade Date: Sat, 19 Oct 2013 08:45:04 +0200 Subject: [PATCH] Display addon address to use (server side) --- server/index.php | 8 ++++++++ server/ressources/gpass.css | 6 ++++++ 2 files changed, 14 insertions(+) diff --git a/server/index.php b/server/index.php index 9d5e434..4817efc 100755 --- a/server/index.php +++ b/server/index.php @@ -111,6 +111,14 @@ else } ?> +Current addon address is : http://" . $_SERVER['SERVER_NAME'] . "/" . $user . "\n"; +else + echo "
Current addon address is : https://" . $_SERVER['SERVER_NAME'] . "/" . $user . "
\n"; + +?>