aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/config.php
diff options
context:
space:
mode:
authornicosomb <nicolas@loeuillet.org>2013-04-15 09:38:41 +0200
committernicosomb <nicolas@loeuillet.org>2013-04-15 09:38:41 +0200
commit8046748b424f95a92ab599ecc973f57eb05246ce (patch)
treee3a2a66569337662a58cf8eba71125f7154c799a /inc/config.php
parent3e188a7c8de484a57c05126072f76860c7746b39 (diff)
downloadwallabag-8046748b424f95a92ab599ecc973f57eb05246ce.tar.gz
wallabag-8046748b424f95a92ab599ecc973f57eb05246ce.tar.zst
wallabag-8046748b424f95a92ab599ecc973f57eb05246ce.zip
découpage des vues dans plusieurs fichiers tpl
Diffstat (limited to 'inc/config.php')
-rw-r--r--inc/config.php10
1 files changed, 10 insertions, 0 deletions
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';
13include 'functions.php'; 13include 'functions.php';
14require_once 'Readability.php'; 14require_once 'Readability.php';
15require_once 'Encoding.php'; 15require_once 'Encoding.php';
16require_once 'rain.tpl.class.php';
17
18$db = new db(DB_PATH);
19
20raintpl::$tpl_dir = './tpl/';
21raintpl::$cache_dir = './cache/';
22raintpl::$base_url = get_poche_url();
23raintpl::configure('path_replace', false);
24raintpl::configure('debug', false);
25$tpl = new raintpl();
16?> \ No newline at end of file 26?> \ No newline at end of file