Thanks AD7six,
That's exactly what I was looking for :) I'm summarizing the relevant
part of that controller here for anyone else:
function <SOME CONTROLLER>()
{
#Turn of the default page rendering behaviour
$this->layout = null;
$this->autoLayout = false;
#serve up the file
header( "Content-type: <SOME TYPE>" );
@readfile( <SOME FILE> );
die;
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---