diff options
author | nicosomb <nicolas@loeuillet.org> | 2013-04-15 09:38:41 +0200 |
---|---|---|
committer | nicosomb <nicolas@loeuillet.org> | 2013-04-15 09:38:41 +0200 |
commit | 8046748b424f95a92ab599ecc973f57eb05246ce (patch) | |
tree | e3a2a66569337662a58cf8eba71125f7154c799a /inc/config.php | |
parent | 3e188a7c8de484a57c05126072f76860c7746b39 (diff) | |
download | wallabag-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.php | 10 |
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'; | |||
13 | include 'functions.php'; | 13 | include 'functions.php'; |
14 | require_once 'Readability.php'; | 14 | require_once 'Readability.php'; |
15 | require_once 'Encoding.php'; | 15 | require_once 'Encoding.php'; |
16 | require_once 'rain.tpl.class.php'; | ||
17 | |||
18 | $db = new db(DB_PATH); | ||
19 | |||
20 | raintpl::$tpl_dir = './tpl/'; | ||
21 | raintpl::$cache_dir = './cache/'; | ||
22 | raintpl::$base_url = get_poche_url(); | ||
23 | raintpl::configure('path_replace', false); | ||
24 | raintpl::configure('debug', false); | ||
25 | $tpl = new raintpl(); | ||
16 | ?> \ No newline at end of file | 26 | ?> \ No newline at end of file |