Welcome to Geeklog Tuesday, August 04 2020 @ 02:13 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?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/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 02:13 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