découpage des vues dans plusieurs fichiers tpl

This commit is contained in:
nicosomb
2013-04-15 09:38:41 +02:00
parent 3e188a7c8d
commit 8046748b42
9 changed files with 132 additions and 113 deletions

View File

@ -13,4 +13,14 @@ include 'db.php';
include 'functions.php';
require_once 'Readability.php';
require_once 'Encoding.php';
require_once 'rain.tpl.class.php';
$db = new db(DB_PATH);
raintpl::$tpl_dir = './tpl/';
raintpl::$cache_dir = './cache/';
raintpl::$base_url = get_poche_url();
raintpl::configure('path_replace', false);
raintpl::configure('debug', false);
$tpl = new raintpl();
?>