I should have added that if you want to stick witth App::import() then you should call it with 'phpthumb' as the 2nd param and the full path to the class fil as the 4th.
http://api.cakephp.org/1.2/class_app.html#2a84eb340fe947c7fdc753c3bf8cd053 On Sat, Mar 8, 2008 at 12:02 PM, b logica <[EMAIL PROTECTED]> wrote: > vendor('phpThumb/phpthumb.class'); or vendor('phpThumb' . DS . > 'phpthumb.class'); > > > > On Fri, Mar 7, 2008 at 8:19 PM, Aaron Shafovaloff <[EMAIL PROTECTED]> wrote: > > > > I'm trying to use > > > > App::import('Vendor','phpthumb' . DS . 'phpthumb.class'); > > > > ... but the "." throws it off. Apparently CakePHP wants to see the "." > > as a directory separator? > > > > How does one import vendor files that are named like > > phpthumb.class.php? > > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
