aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/config.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/config.php')
-rw-r--r--inc/config.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/inc/config.php b/inc/config.php
index cf3529cb..9d4b7fae 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -28,8 +28,12 @@ require_once 'Session.class.php';
28require_once 'store/store.class.php'; 28require_once 'store/store.class.php';
29require_once 'store/sqlite.class.php'; 29require_once 'store/sqlite.class.php';
30require_once 'store/file.class.php'; 30require_once 'store/file.class.php';
31require_once 'class.messages.php';
31 32
32$store = new $storage_type(); 33Session::init();
34
35$store = new $storage_type();
36$msg = new Messages();
33 37
34# initialisation de RainTPL 38# initialisation de RainTPL
35raintpl::$tpl_dir = './tpl/'; 39raintpl::$tpl_dir = './tpl/';
@@ -37,4 +41,5 @@ raintpl::$cache_dir = './cache/';
37raintpl::$base_url = get_poche_url(); 41raintpl::$base_url = get_poche_url();
38raintpl::configure('path_replace', false); 42raintpl::configure('path_replace', false);
39raintpl::configure('debug', false); 43raintpl::configure('debug', false);
40$tpl = new raintpl(); \ No newline at end of file 44$tpl = new raintpl();
45$tpl->assign('msg', $msg); \ No newline at end of file