title: Twig show source code but not HTML
body: <p>I'm trying to run Twig (standalone, without Symfony 2) in a PHP project (Wamp) but it doesn't work : Twig shows the templates source code but does not execute the HTML. I don't find why. Here is my code :</p>
  
  <p>index.php:</p>
  
  <pre><code>// DOCUMENT_ROOT (constant defined in a previous included file) : C:/Program Files/wamp/www/project
  $sTwigPath = DOCUMENT_ROOT."/vendors/twig/lib/Twig/Autoloader.php";
  
  if (file_exists($sTwigPath)) {
      require($sTwigPath);
  
      Twig_Autoloader::register();
      $loader = new Twig_Loader_Filesystem(DOCUMENT_ROOT."/templates");
      $tpl = new Twig_Environment($loader, array("cache"=&gt;false));
  
  try {
      $oTemplate = $tpl-&gt;loadTemplate("home.html");
  } catch (Twig_Error_Loader $e) {
      error_log("Twig library not found", 0);
      exit;
  }    
  
  $aRender = array();
  $aRender["myVar"] = "Wouah! myVar is displayed here!";
  
  echo $oTemplate-&gt;render($aRender);
  </code></pre>
  
  <p>home.html :</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;  
     &lt;meta charset="UTF-8"&gt;
     &lt;title&gt;Home&lt;/title&gt;
   &lt;/head&gt;
   &lt;body&gt;
      &lt;h1&gt;Home&lt;/h1&gt;
      {{myVar}}
   &lt;/body&gt;
   &lt;/html&gt;      
  </code></pre>
  
  <p>I've no error (checked in PHP and apache logs). </p>