Welcome to Geeklog, Anonymous Monday, June 17 2024 @ 01:49 pm EDT

Geeklog Forums

$_CONF[\'site_url\'] should accept an array


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?

Status: offline


Site 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


Gotcha. Thanks Dirk.

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