25 lines
509 B
PHP
25 lines
509 B
PHP
|
<?php
|
||
|
|
||
|
// Initialize templating engine
|
||
|
require('smarty3/Smarty.class.php');
|
||
|
$tpl = new Smarty;
|
||
|
|
||
|
$tpl->setCacheDir(BASE_PATH . 'cache');
|
||
|
$tpl->setCompileDir(BASE_PATH . 'cache');
|
||
|
$tpl->setTemplateDir(BASE_PATH . 'templates');
|
||
|
$tpl->left_delimiter = '{{';
|
||
|
$tpl->right_delimiter = '}}';
|
||
|
|
||
|
require('routes.inc.php');
|
||
|
|
||
|
/*
|
||
|
// Markdown
|
||
|
require('Michelf/Markdown.inc.php');
|
||
|
#require('Michelf/MarkdownInterface.php');
|
||
|
#require('Michelf/Markdown.php');
|
||
|
|
||
|
$md = new \Michelf\Markdown;
|
||
|
|
||
|
$md->empty_element_suffix = '>';
|
||
|
*/
|