Welcome to Geeklog, Anonymous Friday, September 13 2024 @ 06:32 pm EDT
Geeklog Forums
$_CONF[\'site_url\'] should accept an array
bitter
Anonymous
It would be nice if you could send an array into the $_CONF[\'site_url\']. This would help with sites that may be called two different DNS names on opposite sides of a firewall and eliminate the confusion as to whether to add the www prefix in config.php too.
Possible? Planned?
18
20
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Neither possible nor planned.
Earlier versions of Geeklog tried to resolve the \"www vs. non-www\" issue by doing a redirect in index.php, but that caused too many problems for certain setups. It\'s easier (and more reliable) to do that server-side.
bye, Dirk
13
12
Quote
bitter
Anonymous
Gotcha. Thanks Dirk.
11
11
Quote
All times are EDT. The time is now 06:32 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content