what's the cakephp way to check whether a controller exists or not?

$this->set('product', $this->requestAction('/admin/product/',
array('return')));
if the controller isn't there, it shows an error message.
i haven't tried taking it to debug 0, i thought of using a function to
check.

thanks


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

Reply via email to