/home/cpanrun/depot/main/contrib-patched/perl/CPAN/src/HTML-Tmojo/blib/html/site/lib/HTML/Tmojo/SimpleHandler.html


OPTION/pre <p>The SimpleHandler obeys the following environment variables:</p> <dl> <dt><strong><a name=``tmojo_template_dir'' class=``item''>TMOJO_TEMPLATE_DIR</a></strong>

<dd> <p>SimpleHandler will look for its templates in this directory. If not specified, SimpleHandler will look for its templates in the apache document root.</p> </dd> </li> <dt><strong><a name=``tmojo_cache_dir'' class=``item''>TMOJO_CACHE_DIR</a></strong>

<dd> <p>This required setting tells SimpleHandler where to store compiled Tmojo templates. The directory must be writable by apache.</p> </dd> </li> <dt><strong><a name=``tmojo_default_container'' class=``item''>TMOJO_DEFAULT_CONTAINER</a></strong>

<dd> <p>If specified, SimpleHandler will use this path to determine the container template on each requested template. This option will override any $TMOJO_CONTAINER specified within templates.</p> </dd> <dd> <p>Normally, you would use this option to create a directory level containment mechanism. For instance, by setting TMOJO_DEFAULT_CONTAINER to <code>container.tmojo^</code>, you can make the SimpleHandler use the deepest template named <em class=``file''>container.tmojo</em> as the container for the requested template.</p> </dd> </li> </dl> <p> </p> <hr /> <h1><a name=``author''>AUTHOR</a></h1> <p>Will Conant &lt;<a href=``mailto:will@willconant.com''>will@willconant.com&gt;</p>

</body>

</html>

 /home/cpanrun/depot/main/contrib-patched/perl/CPAN/src/HTML-Tmojo/blib/html/site/lib/HTML/Tmojo/SimpleHandler.html