Hi,

Why not just put if (!class_exists('Vehicle'))
{require("Vehicle.php");} at the top of your scooter and car model
files?

I would guess that require is used instead of require_once because
*_once calls are slower (needs to check the file hasn't already been
loaded, taking care of any server path magicary).

HTH,

AD7six


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

Reply via email to