ARRGH... Can we delete this ? :)

one hour of FAIL could have been solved if I had read the full article
on this at

http://book.cakephp.org/view/36/Additional-Class-Paths


But I missed the last sentance... "Make sure that each path specified
includes a trailing slash. "

so I changed my bootstrap code to include a '/' at the end of each
path and worked:

$xch_core_path = '/Users/hardy/Sites/xch_core/app/';
$modelPaths = array($xch_core_path.'models/');
$viewPaths = array($xch_core_path.'views/');
$controllerPaths = array($xch_core_path.'controllers/');


Interesting tho that the controllers and models worked... which was
throwing me off... I guess since the views have subdirectories, it
wasn't recursing down into the subdirs... but it must have seen the
base folder of controllers and models.

DOH!!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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