how can i retrieve the caller's path?
<p>in a script i call another class with:</p>

<pre><code>Factory::folder();
</code></pre>

<p>but when i specify...</p>

<pre><code>dirname(__FILE__)
</code></pre>

<p>...i get the library's path, not the caller's.</p>

<p>how can i have the caller's path?</p>

<p>thanks</p>
