if ($base_url == $fb_app_name){ ... }
psi-borg - September 3, 2009 - 11:53
| Project: | Drupal for Facebook |
| Version: | 6.x-2.x-dev |
| Component: | Canvas Pages |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed |
Jump to:
Description
dave, i named an fb app the same as the virtual root directory of drupal and received a message to the effect that it "wasn't supported" - what happens when the base url is the same as the fb app name? btw, i'm going with flex+drupal services - finally getting them to play nice together. hope fb_fbml doesn't make amfphp go bye bye.

#1
Yeah, unfortunately theres some crazy code that will run into problems when the base_url is the same as the app name. Just don't do it! If memory serves, its because of some special string replacement that fixes links on canvas pages. And this restriction can be removed in D7 when there is a url_alter hook. In the meantime its one of those things to live with. Sorry.
#2