Okay,
This may be a little late, but if you are creating a vendor lib, you
should not be fetching Cake data. Instead do something like:
$Image->setImageRoot("/mysite/html/images/productos/thumbs/");
...
$Image->fileURL("nameOfFile.jpg");
# /mysite/html/images/productos/thumbs/nameOfFile.jpg
This way you separate your lib from Cake for maximum reuse (despite the
fact that you're extending File).
Just a thought...
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---