http://www.sitepoint.com/print/photo-gallery-cakephp-flickr

I tried to follow this.. But, I got stuck on:

/app/controllers/gallery_controller.php:

class GalleryController extends AppController{
 var $name = 'Gallery';
 var $components = array<http://www.sitepoint.com/glossary.php?q=%23#term_72>
[9]('Flickr');
 var $uses = null;
}

Noticed the $components = array [9] ('Flickr');?
It is somewhat wrong and causing error, because the array is incorrect.

Any idea's what exactly would be the right one?

Is it?

array('9'=>'Flickr'); ?

-- 
Louie Miranda ([EMAIL PROTECTED])
http://www.axishift.com

Security Is A Series Of Well-Defined Steps
chmod -R 0 / ; and smile :)

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to