Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Twig をパーサーとして使用するように FuelPHP をセットアップしました。ただし、include Twig ステートメント {% include 'viewFileNameInsideSameDirectory.twig' %} は機能しません。次のエラーが表示されます。
値の予期しないトークン「名前」
前もって感謝します!
私はそれを考え出した。Twig docs に示されているように一重引用符を使用していましたが、二重引用符でのみ機能します。
{% include "viewFolder/viewFileName.twig" %}