Hey, that works. Thanks so much. I was trying to use the APP_PATH constant which wasn't actually set.
-Corie On Sep 14, 12:37 am, "Dr. Loboto" <[email protected]> wrote: > For such installation you must provide more precise paths to > App::build: > > App::build( > array ( > 'controllers' => array ( > CONTROLLERS, > > CAKE_CORE_INCLUDE_PATH.DS.'shares'.DS.'controllers'.DS, > ), > ) > ); > > And yes, Cake 1.2 have different behavior and place "local" path > always first in line (and it seems much more reasonable for me > personally). > > On Sep 13, 9:20 pm, Corie <[email protected]> wrote: > > > The bootstrap in 1.3 doesn't seem to function like it did in 1.2, > > where I could use a shared directory to use controllers, models, etc. > > when the local app/ one was not available. Now when I use the same > > method, the shared file is always used, regardless of the existence of > > the local one. > > > Here's what I have in boostrap.php: > > > App::build(array( > > 'controllers' => array(CAKE_CORE_INCLUDE_PATH . DS . 'shares' . DS . > > 'controllers' . DS) > > )); > > > I used pages_controller.php to test. The /shares/controllers/ > > pages_controller.php is always used even if /app/controllers/ > > pages_controller.php exists. I also tried adding /app/controllers/ to > > the controllers array first and second and got the same result. > > > Bootstrapping still works to pull in extra files, but has it really > > lost this great feature? > > > -Corie Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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
