Welcome to Geeklog, Anonymous Thursday, April 18 2024 @ 07:12 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?
 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
 Quote

bitter

Anonymous
Gotcha. Thanks Dirk.
 Quote

All times are EDT. The time is now 07:12 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