Initial import
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
require_once __DIR__ . '/vendor' . '/autoload.php';
|
||||
|
||||
$m = new Mustache_Engine(array(
|
||||
'loader' => new Mustache_Loader_FilesystemLoader(dirname(__FILE__) . '/templates'),
|
||||
'charset' => 'utf-8',
|
||||
'logger' => new Mustache_Logger_StreamLogger('php://stderr'),
|
||||
));
|
||||
|
||||
$tpl = $m->loadTemplate('index_html');
|
||||
echo $tpl->render();
|
||||
Reference in New Issue
Block a user