BTW, if you're testing this, make sure to delete your tmp/cache/ persistent/ files.
-Corie On Jun 16, 3:45 pm, Corie <[EMAIL PROTECTED]> wrote: > I'm using the bootstrap file to load up default controllers and other > stuff. > > In app/config/bootstrap.php > > $modelPaths = array(CAKE_CORE_INCLUDE_PATH . DS . 'shares' . DS . > 'models' . DS); > $behaviorPaths = array(CAKE_CORE_INCLUDE_PATH . DS . 'shares' . DS . > 'models' . DS . 'behaviors' . DS); > $viewPaths = array(CAKE_CORE_INCLUDE_PATH . DS . 'shares' . DS . > 'views' . DS); > $helperPaths = array(CAKE_CORE_INCLUDE_PATH . DS . 'shares' . DS . > 'views' . DS . 'helpers' . DS); > $controllerPaths = array(CAKE_CORE_INCLUDE_PATH . DS . 'shares' . DS . > 'controllers' . DS); > $componentPaths = array(CAKE_CORE_INCLUDE_PATH . DS . 'shares' . DS . > 'controllers' . DS . 'components' . DS); > > This all works as expected and cascades properly. > app/controllers/test_controller.php will first if it exists > if not then > cake_core/shares/controllers/test_controller.php will load. > > But when I put an app_controller in cake_core/shares/controllers/ it > always loads it even if my app has its own app_controller. It only > loads the local version if I remove the one from shares. Is there any > way around this? Or is it not meant to load an app_controller? > > -Corie --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---