You can put something like this

$modelPaths = array(MODELS."myFolder".DS, MODELS."myOtherFolder".DS);

in /app/bootstrap.php to allow you to load models from folders other
than the default one.
so in your case:

$modelPaths = array(MODELS."util".DS);

and then your controller should load the model automatically without
$uses. If you need $uses it would be simply:

$uses = array('FileManager');

I haven't tried this in earnest, but I think that's the way to do it.


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