roller' => 'pages', 'action' =>
> 'display', 'about'));
>
> In cake 1.1
> $Route->connect('/about', array('controller' => 'pages', 'action' =>
> 'display', 'about'));
Is there an easy way to configure my CakePHP app to construct URLs
without the "pages/" part in it?
For example, if I use the HtmlHelper like so:
$html->link('About Me', 'about', null, false, false);
Right now, CakePHP constructs the URL "http://domain.name/pages/
about/". I would like this beh
p I have a few class variables to specify each of my db
> setups (staging, qa,production).
>
> Then in AppModel, I specify $useDbConfig using my constant so that all
> my models use the right DB setup.
>
> -- John
>
> On May 2, 2008, at 10:19 AM, basstech wrote:
>
>
>
After reading through the configuration documentation, it is nice that
CakePHP supports multiple database configurations. However, I am
wondering if there is an easy way to simply "turn on" one
configuration over another across the entire application.
In the documentation it says:
The $default c