I am working on my facebook app (you may have seen other messages here by me about this) and I have hit another small problem.
Having set up my routing so that I may enter my app either via facebook or via a webpage I find that I cannot access files in the folders in my webroot in facebook. For example, some of my routes: Router::connect('/fb', array('controller'=>'pages', 'action'=>'display', 'facebook'=>true, 'canvas')); Router::connect('/fb/help', array('controller'=>'pages', 'action'=>'display', 'facebook'=>true, 'help')); Router::connect('/fb/:controller/:action/*', array ('facebook'=>true)); Router::connect('/', array('controller'=>'pages', 'action'=>'display', 'canvas')); Router::connect('/help', array('controller'=>'pages', 'action'=>'display', 'help')); Now facebook hits my app using /fb/whatever. This works so far for everything except for my .swf files which reside in my webroot/flash directory./ If I go to /flash/flash.swf I get my file If I go to /fb/flash/flash.swf it looks for a FlashController. I am so close to getting this working just as I need it. I think this will be my last snag. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---