Thank you for your replies. I was not aware that false is returned, so
I'm taking back my accusation that CakePHP is lazy. Still I'd like to
have an option that CakePHP automatically cries when in development
mode...

On Sat, Nov 13, 2010 at 5:32 PM, mark_story <mark.st...@gmail.com> wrote:
> 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 <psybea...@gmail.com> 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 cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php?hl=en
>

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to