Le 25/03/2017 à 11:44, Petko Yotov a écrit :
On 2017-03-25 11:29, jdd wrote:
apache2 is setup to accept any tld (org, info or me), but some of the
addresses in pmwiki (external ones) are not
is there a variable that gives only the domain name?
Yes: $_SERVER['HTTP_HOST']
sorry, but I can't use it :-(
[[{*$FullName}]]
prints the page name
[[{*$_SERVER['HTTP_HOST'}]]
prints only the text and a ?
I can't neither make work the example of this page ($PubDirUrl)
http://www.pmwiki.org/wiki/PmWiki/PathVariables
my test page
http://dodin.info/wiki/pmwiki.php?n=Main.WikiSandbox
sorry :-(
thanks
jdd
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users