Browse Source

fixed twig path

tags/0.1.0
Robin Thoni 9 years ago
parent
commit
7020dafa4e
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/Doc/Business/LuDocBusiness.php

+ 1
- 1
src/Doc/Business/LuDocBusiness.php View File

83
          * @var $businesses LuRouteDbo[]
83
          * @var $businesses LuRouteDbo[]
84
          */
84
          */
85
 
85
 
86
-        $loader = new Twig_Loader_Filesystem(__DIR__ . "/Templates");
86
+        $loader = new Twig_Loader_Filesystem(__DIR__ . "/../Templates");
87
         $twig = new Twig_Environment($loader, array());
87
         $twig = new Twig_Environment($loader, array());
88
         $template = $twig->loadTemplate("index.html.twig");
88
         $template = $twig->loadTemplate("index.html.twig");
89
         $content = $template->render(array());
89
         $content = $template->render(array());

Loading…
Cancel
Save