瀏覽代碼

fixed twig path

tags/0.1.0
Robin Thoni 9 年之前
父節點
當前提交
7020dafa4e
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/Doc/Business/LuDocBusiness.php

+ 1
- 1
src/Doc/Business/LuDocBusiness.php 查看文件

@@ -83,7 +83,7 @@ class LuDocBusiness
83 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 87
         $twig = new Twig_Environment($loader, array());
88 88
         $template = $twig->loadTemplate("index.html.twig");
89 89
         $content = $template->render(array());

Loading…
取消
儲存