[mythtv-users] mythweb conf.php example, please
Nezar Nielsen
nezar.nielsen at gmail.com
Sun Jun 12 21:46:45 UTC 2005
On 6/12/05, Mercury Morris <mercury.morris at gmail.com> wrote:
> Here is a line from the mythweb package's file, conf.php:
>
> define('server_domain', $_SERVER['SERVER_NAME'] ?
> $_SERVER['SERVER_NAME'] : $_SERVER['HTTP_HOST']);
The above line says:
Define the constant 'server_domain' as the value of
$_SERVER['SERVER_NAME'] if it exists, otherwise use
$_SERVER['HTTP_HOST'].
It is used to form the domain for which cookies should be set, unless
you're proxying or otherwise using voodoo, you shouldn't need to
change it.
You could also just set it to the hostname you use to access your mythweb, eg:
define('server_domain', 'mythweb.yourhost.com');
--
Mvh. Nezar Nielsen
http://fez.dk
More information about the mythtv-users
mailing list