Including a file that includes another file
<p>Folder Structure</p>

<ul>
<li>root
<ul>
<li>inc/
<ul>
<li>db.php</li>
<li>session.php</li>
<li>db.php</li>
<li>init.php</li>
</ul></li>
<li>lib/
<ul>
<li>Twig/</li>
</ul></li>
</ul></li>
<li>init.php</li>
</ul>

<p>login.php file</p>

<pre><code>&lt;?php
include 'inc/init.php';
</code></pre>

<p>init.php</p>

<pre><code>&lt;?php
include 'session.php';

$config = include 'config.php';
include 'db.php';

require_once '/lib/Twig/Autoloader.php';
Twig_Autoloader::register();
</code></pre>

<p>What I'm so confused about is the fact that the Twig library gets included. Shouldn't I need to back a folder ../ ? But that is giving me an error, and I simply don't understand why.</p>
