title: How to use RainTPL?
body: <p>I'm trying to use the 'include' tag from RainTPL but it's not working, I can't figure out why.</p>
  
  <p>My server setup is a UniServer installation with apache and php. I have tried php code to test the setup and it worked.</p>
  
  <pre><code>    &lt;?php
      include "inc/rain.tpl.class.php"; //include Rain TPL
      raintpl::$tpl_dir = "layout/"; // template directory
      raintpl::$cache_dir = "tmp/"; // cache directory
  ?&gt;
  
  &lt;html&gt;
      &lt;head&gt;
          &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /&gt;
          &lt;title&gt;Ezbuy - Compras Inteligentes - Aguardem&lt;/title&gt;
  
          &lt;link rel="stylesheet" href="comingsoon.css" type="text/css"&gt;
          &lt;link href="http://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css"&gt;
      &lt;/head&gt;
  
      &lt;body&gt;
  
          {include="layout/header"}
  
          &lt;section class="main"&gt;
              &lt;div class="box"&gt;
                  &lt;article&gt;
                      &lt;header&gt;
                          &lt;h2&gt;Facilidade, Preço &amp; Segurança&lt;/h2&gt;
                      &lt;/header&gt;
                      &lt;p&gt;Cadastre-se e descubra uma forma fácil de comprar, sem necessidade de longas pesquisas pela internet.
                      Você pode escolher os produtos oferecidos com o menor preço.
                      Vendedores qualificados e método de pagamento seguro.&lt;/p&gt;
                  &lt;/article&gt;
              &lt;/div&gt;
          &lt;/section&gt;
  
        &lt;section class="row"&gt;
          &lt;div class="boxrow"&gt;
              &lt;article class="column" style="padding-right: 10%;"&gt;
                  &lt;center&gt;&lt;img src="interest.png" height="64px" style="padding-top: 50px;" /&gt;&lt;/center&gt;
                  &lt;header class="headercolumn"&gt;
                      &lt;h2&gt;Apenas o que interessa&lt;/h2&gt;
                  &lt;/header&gt;
                  &lt;p&gt;Find local favorites, new menu items, and global recommendations. Check the Forkly DishScore&amp;trade; to see what’s good at a glance; or search every dish and detail to plan ahead.&lt;p&gt;
              &lt;/article&gt;
              &lt;article class="column"&gt;
                  &lt;center&gt;&lt;img src="money.png" height="64px" style="padding-top: 50px;" /&gt;&lt;/center&gt;
                  &lt;header class="headercolumn"&gt;
                      &lt;h2&gt;Pague quanto quiser&lt;/h2&gt;
                  &lt;/header&gt;
                  &lt;p&gt;Escolha o valor que deseja pagar pelo produto e aguarde uma oferta.&lt;p&gt;
              &lt;/article&gt;
          &lt;/div&gt;
        &lt;/section&gt;
  
        &lt;div class="clear"/&gt;
  
          &lt;!--&lt;footer style="height: 300px;"&gt;
              &lt;p class="copyright"&gt;&amp;copy Copyright 2013 Feiler IT.&lt;/p&gt;
          &lt;/footer&gt;--&gt;
  
      &lt;/body&gt;
  
  &lt;/html&gt;
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/MpT2u.png" alt="enter image description here"></p>