title: Unable to get relative paths working in... Smarty :(
body: <p>I'm stuck on using Smarty (3.1.16 I think) for a university project.
  I have this directory structure:</p>
  
  <pre><code>+ templates/
  + -- application.tpl
  + -- backend.tpl
  + -- backend/
  + ---- blog.tpl
  </code></pre>
  
  <p>Inside <code>templates/backend.tpl</code> I have an <code>{extends 'application.tpl'}</code> which works when I load <code>backend.php</code> and render this file.</p>
  
  <p>Inside <code>templates/backend/blog.tpl</code> I have an <code>{extends '../backend.tpl'}</code>. When I visit <code>backend/blog.php</code> (which loads <code>templates/backend/blog.tpl</code>) I get this error:</p>
  
  <pre><code>Unable to read template file 'application.tpl'
  </code></pre>
  
  <p>What could be the reason of this error?</p>