Closed (duplicate)
Project:
Global Redirect
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
27 Jan 2007 at 19:15 UTC
Updated:
26 Apr 2007 at 17:15 UTC
check out drupal_is_front_page, please. The function looks completely different.
Comments
Comment #1
hass commentedsorry, i don't understand this line
shouldn't this:
if not this looks like a redirection loop from http://www.example.com/ to http://www.example.com/, isn't it?
Comment #2
nicholasthompsonYou could be onto something there... I'll try it out later - but the logic sounds right. I wonder why I did that...
Comment #3
nicholasthompsonJust noticed in the API - there is a drupal_is_front_page() command... I'm updating 4.7 (dev) to use this. I'll roll this into 5.0 too when I get a minute.
Comment #4
nicholasthompsonThis was rolled in a while ago - there is currently another issue (http://drupal.org/node/124704) open regarding an endless loop on the frontpage.
Comment #5
hass commentedthis one is a duplicate of #124704, where i posted a patch for this.