From: Andreas Unterkircher Date: Tue, 10 Jul 2007 18:52:17 +0000 (+0000) Subject: issue13, fixed external link - the browser will complete them X-Git-Tag: phpfspot-1.2~149 X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=commitdiff_plain;h=cac16f3332944390250a2a2fcd460bef818a65a5 issue13, fixed external link - the browser will complete them git-svn-id: file:///var/lib/svn/phpfspot/trunk@186 fa6a889d-dae6-447d-9e79-4ba9a3039384 --- diff --git a/phpfspot.class.php b/phpfspot.class.php index 14dff99..47ce211 100644 --- a/phpfspot.class.php +++ b/phpfspot.class.php @@ -594,7 +594,7 @@ class PHPFSPOT { $current_tags = substr($current_tags, 0, strlen($current_tags)-1); } - $extern_link = "http://". $_SERVER['SERVER_NAME'] ."/index.php?mode=showpi"; + $extern_link = "index.php?mode=showpi"; if($current_tags != "") { $extern_link.= "&tags=". $current_tags; }