]> git.immae.eu Git - github/shaarli/Shaarli.git/commit - index.php
SERVER_NAME changed to HTTP_HOST
authorSebastien SAUVAGE <sebsauvage@sebsauvage.net>
Sat, 3 Aug 2013 20:00:09 +0000 (22:00 +0200)
committerSebastien SAUVAGE <sebsauvage@sebsauvage.net>
Sat, 3 Aug 2013 20:00:09 +0000 (22:00 +0200)
commitf6a6ca0aec6cc09ee76d827cc07d3c0ed66c8eb0
tree794e176de5069663765e8de543ea61b41ced552f
parent99954e12900401c5c725e65bce28cc1711653e45
SERVER_NAME changed to HTTP_HOST

SERVER_NAME changed to HTTP_HOST because SERVER_NAME can cause problems
on some misconfigured hosts. HTTP_HOST is usually more reliable with
those servers. (cf.
http://stackoverflow.com/questions/2297403/http-host-vs-server-name).
This should cause less problem on most hosts.
index.php