On Thu, Jun 30, 2011 at 12:54 PM, Joerg Desch <jd.vvd@web.de> wrote:
OK. I thought, that the base path must be absolute. But to get the
expected behavior, I must use . as base path, which seams to work here on
linux. The session informations stored in section [files] are still using
an absolute path. Is this the point where a project option you've
mentioned could help?

My thinking was:

...
[project]
name=....
base_path=/kunden/....

^^^^^ base_path goes awy away completely. It's not needed - base_dir is computed from the path holding the project file. For this example, let's assume my project file is in /kunden/. (that's German for "customers").

[files]
FILE_NAME_0=26926;PHP;0;16;1;1;0;/kunden/abc/def/foo.bar;0
FILE_NAME_1=0;PHP;0;16;1;1;0;/kunden/.../isr_invsr_single_edit.php;0

Would become:

FILE_NAME_0=26926;PHP;0;16;1;1;0;abc/def/foo.bar;0
FILE_NAME_1=0;PHP;0;16;1;1;0;.../isr_invsr_single_edit.php;0

etc. etc.

If, despite the wisdom of 40+ years of collective software development conventions, i place files outside of my project root, they are still handled:

FILE_NAME_0=...;TEXT;0;16;1;1;0;/etc/hosts;0


--
----- stephan beal
http://wanderinghorse.net/home/stephan/