On 12/12/07, lordG <[EMAIL PROTECTED]> wrote:
> Then, with the 1.2 branch release, does anyone know why in the
> loadmodel function, they use require and not require_once? I've hit a
> snack with this one, and change the require to require_once int he
> code manually.

Well, ideally require_once should never be needed if your program flow
is correct ;) besides that require_once has a higher overhead than
require. Still further you can always check if a given model is
already available before calling loadmodel()

Hope that helps

Tarique

-- 
=============================================================
Cheesecake-Photoblog: http://cheesecake-photoblog.org
PHP for E-Biz: http://sanisoft.com
=============================================================

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