Thanks RoVo,
That's what I was afraid of. I don't like modifying dist-files, but it
looks like I have to.
Let's just hope nothing changes in index.php for a while :)

/Martin


On Jan 20, 1:16 pm, RoVo <[email protected]> wrote:
> Hi Martin,
>
> > Unfortunately defining "TMP" in bootstrap.php is too late.
> > It is already set in paths.php before I get
> > a chance to "take over" so to speak.
>
> I have a solution - works fine for my needs...
>
> in the webroot index.php I use a line like this:
> include_once('config.php');
>
> in that config.php I use:
> if (!defined('TMP')) {
>         define('TMP', CMS_HTDOCS . DS . 'tmp'. DS . CMS_PROJECT . DS); }
>
> the result looks like this:
> - htdocs
>   - project1
>   - project2
>   - project3
>  - tmp
>   - project1
>   - project2
>   - project3
>
> Hope that helps...
> RoVo
--~--~---------~--~----~------------~-------~--~----~
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