Re: Using bootstrap to load app_controller

2008-06-20 Thread Corie
I opened a ticket https://trac.cakephp.org/ticket/4959 Supposedly it's as expected. -Corie On Jun 16, 5:33 pm, Corie [EMAIL PROTECTED] wrote: Perhaps I will. This works for now: $controllerPaths = array(CAKE_CORE_INCLUDE_PATH . DS . 'shares' . DS . 'controllers' . DS);

Using bootstrap to load app_controller

2008-06-16 Thread Corie
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);

Re: Using bootstrap to load app_controller

2008-06-16 Thread Corie
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

Re: Using bootstrap to load app_controller

2008-06-16 Thread Chris Hartjes
On Mon, Jun 16, 2008 at 3:45 PM, Corie [EMAIL PROTECTED] wrote: I'm using the bootstrap file to load up default controllers and other stuff. Why would you do it this way when none of the examples out there do anything remotely similar to this. -- Chris Hartjes Internet Loudmouth Motto for

Re: Using bootstrap to load app_controller

2008-06-16 Thread Corie
I've not found any examples. What would you recommend as a better way to share models, controllers, and views between multiple sites? -Corie On Jun 16, 3:59 pm, Chris Hartjes [EMAIL PROTECTED] wrote: On Mon, Jun 16, 2008 at 3:45 PM, Corie [EMAIL PROTECTED] wrote: I'm using the bootstrap

Re: Using bootstrap to load app_controller

2008-06-16 Thread Chris Hartjes
On Mon, Jun 16, 2008 at 4:11 PM, Corie [EMAIL PROTECTED] wrote: I've not found any examples. What would you recommend as a better way to share models, controllers, and views between multiple sites? -Corie Having never done that (i.e. sharing models, controllers and views between multiple

Re: Using bootstrap to load app_controller

2008-06-16 Thread Corie
I build a lot of small web sites and most of them use the same type of controllers so I'd like to be able to have one set of these to update instead of 20 to update every time I make a change. Maybe plugins would be another route to go, but that would require having to update all the sites for

Re: Using bootstrap to load app_controller

2008-06-16 Thread Chris Hartjes
On Mon, Jun 16, 2008 at 4:26 PM, Corie [EMAIL PROTECTED] wrote: I build a lot of small web sites and most of them use the same type of controllers so I'd like to be able to have one set of these to update instead of 20 to update every time I make a change. Maybe plugins would be another

Re: Using bootstrap to load app_controller

2008-06-16 Thread Samuel DeVore
ail.com wrote: I build a lot of small web sites and most of them use the same type of controllers so I'd like to be able to have one set of these to update instead of 20 to update every time I make a change. Maybe plugins would be another route to go, but that would require having to update

Re: Using bootstrap to load app_controller

2008-06-16 Thread Chris Hartjes
On Mon, Jun 16, 2008 at 4:45 PM, Samuel DeVore [EMAIL PROTECTED] wrote: It is documented in the manual http://manual.cakephp.org/view/32/installation#advanced-installation-35 Thanks for pointing that out, Sam. -- Chris Hartjes Internet Loudmouth Motto for 2008: Moving from herding elephants

Re: Using bootstrap to load app_controller

2008-06-16 Thread Corie
This is precisely what I've done. I just can't get the app_controller shared if I ever want to use a different local app_controller. Could I do something like: if( file_exists( APP_DIR . DS . 'app_controller.php') ) { use it } else { use the shared one } Would it just need to be

RE: Using bootstrap to load app_controller

2008-06-16 Thread Paul R. Zwiers
I use a repository kind of thingy :-) I have some local sites running on my development machine which are used to create standard components (components in this case being models/controllers/views which are basically standards for other [production] sites). These are never to be changed on

Re: Using bootstrap to load app_controller

2008-06-16 Thread Samuel DeVore
On Mon, Jun 16, 2008 at 1:54 PM, Corie [EMAIL PROTECTED] wrote: This is precisely what I've done. I just can't get the app_controller shared if I ever want to use a different local app_controller. Could I do something like: if( file_exists( APP_DIR . DS . 'app_controller.php') ) { use