Welcome to Geeklog, Anonymous Wednesday, May 31 2023 @ 12:35 am 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?
13
12
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
8
8
Quote
bitter
Anonymous
Gotcha. Thanks Dirk.
8
7
Quote
All times are EDT. The time is now 12:35 am.
- 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