From 8046748b424f95a92ab599ecc973f57eb05246ce Mon Sep 17 00:00:00 2001 From: nicosomb Date: Mon, 15 Apr 2013 09:38:41 +0200 Subject: =?UTF-8?q?d=C3=A9coupage=20des=20vues=20dans=20plusieurs=20fichie?= =?UTF-8?q?rs=20tpl?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- inc/config.php | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'inc/config.php') diff --git a/inc/config.php b/inc/config.php index f9a4701e..6d8be9ee 100644 --- a/inc/config.php +++ b/inc/config.php @@ -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(); ?> \ No newline at end of file -- cgit v1.2.3