explicit filepath to file in parent directory
<p>I have a situation where I have two config files.<br>
A base config which resides in a parent directory, and a sibling config in a sibling directory.<br>
To date, the sibling looks to the parent with a simple </p>

<pre><code>require_once "../parent_config.php";
</code></pre>

<p>However I now want to pass the sibling into a new class system. I can pass an explicit filepath for the sibling no problem, but obviously run into issues with the above call to the parent.<br>
I'm trying something along the line of the following but I'm getting it wrong somewhere (I'm trying to say take the explicit filepath, up one)</p>

<pre><code>require_once (dirname(__FILE__) . "../parent_config.php");
</code></pre>

<p>I'd appreciate your comments.<br>
Thanks<br>
Giles</p>
