> App::import( 'Core', array( 'View') );
should be this:
App::import( 'Core', array( 'View', 'Controller' ) );
which works well in shell script to produce text files:
$html = $oView->render( '/elements/report/' );
yet not with email component
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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?hl=en
-~----------~----~----~----~------~----~------~--~---