Also App::import() returns false when an import fails.  If you are
interested in whether or not things succeed, you could check the
return value of the method.

-Mark

On Nov 12, 5:05 am, psybear83 <[email protected]> wrote:
> Hi all
>
> I don't get it why CakePHP doesn't complain about stuff like when one
> specifies missing components or fixtures:
>
> var $components = array('SomeNotExistingComponent');
> var $fixtures = array('app.this_fixture_does_not_exist');
> App::import('Lib', 'TheresNoSuchFileInLib');
>
> All the three lines do not result in any error, and I guess there's
> more of that like $uses or stuff, but I didn't investigate this any
> further.
>
> Can anyone tell me why CakePHP just doesn't care about stuff like
> that? Seems veeeery unresponsible to me...
>
> Thanks for any hints
> Josh

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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