<div class="gmail_quote">On Thu, Jun 30, 2011 at 12:54 PM, Joerg Desch <span dir="ltr"><<a href="mailto:jd.vvd@web.de">jd.vvd@web.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
OK. I thought, that the base path must be absolute. But to get the<br>
expected behavior, I must use . as base path, which seams to work here on<br>
linux. The session informations stored in section [files] are still using<br>
an absolute path. Is this the point where a project option you've<br>
mentioned could help?</blockquote><div><br></div><div>My thinking was:</div><div><br></div><div>...</div></div><div>[project]</div><div>name=....</div><div>base_path=/kunden/....</div><div><br></div><div>^^^^^ 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").</div>
<div><br></div><div>[files]</div><div>FILE_NAME_0=26926;PHP;0;16;1;1;0;/kunden/abc/def/foo.bar;0</div><div><meta http-equiv="content-type" content="text/html; charset=utf-8">FILE_NAME_1=0;PHP;0;16;1;1;0;/kunden/.../isr_invsr_single_edit.php;0</div>
<div><br></div><div>Would become:</div><div><br></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8">FILE_NAME_0=26926;PHP;0;16;1;1;0;abc/def/foo.bar;0</div><div><meta http-equiv="content-type" content="text/html; charset=utf-8">FILE_NAME_1=0;PHP;0;16;1;1;0;.../isr_invsr_single_edit.php;0</div>
<div><br></div><div>etc. etc.</div><div><br></div><div>If, despite the wisdom of 40+ years of collective software development conventions, i place files outside of my project root, they are still handled:</div><div><br></div>
<div><meta http-equiv="content-type" content="text/html; charset=utf-8">FILE_NAME_0=...;TEXT;0;16;1;1;0;/etc/hosts;0</div><div><br></div><div><br></div>-- <br>----- stephan beal<br><a href="http://wanderinghorse.net/home/stephan/">http://wanderinghorse.net/home/stephan/</a><br>