1
0
Fork 0
feedizer-php/htdocs/includes/init.web.inc.php

25 lines
509 B
PHP
Raw Normal View History

2015-11-13 23:51:46 +01:00
<?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 = '>';
*/