Regarding point 1 below: I was looking at loadModels(), but loadModel() has
the same:

function loadModel($name = null) {
        // ...

        if (!is_null($name) && !class_exists($name)) {
                $name = Inflector::underscore($name);
                $paths = Configure::getInstance();

                foreach($paths->modelPaths as $path) {
                        if (file_exists($path . $name . '.php')) {
                                // ...
                        }
                }
        }
}

-MI

---------------------------------------------------------------------------

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar


-----Mensaje original-----
De: Mariano Iglesias [mailto:[EMAIL PROTECTED] 
Enviado el: Viernes, 23 de Febrero de 2007 12:54 a.m.
Para: 'cake-php@googlegroups.com'
Asunto: RE: Multiple Paths for Models/Views/Controllers in paths.php

1. cake/basics.php - loadModels() has this:



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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