diff options
Diffstat (limited to 'inc/config.php')
-rw-r--r-- | inc/config.php | 9 |
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'; | |||
28 | require_once 'store/store.class.php'; | 28 | require_once 'store/store.class.php'; |
29 | require_once 'store/sqlite.class.php'; | 29 | require_once 'store/sqlite.class.php'; |
30 | require_once 'store/file.class.php'; | 30 | require_once 'store/file.class.php'; |
31 | require_once 'class.messages.php'; | ||
31 | 32 | ||
32 | $store = new $storage_type(); | 33 | Session::init(); |
34 | |||
35 | $store = new $storage_type(); | ||
36 | $msg = new Messages(); | ||
33 | 37 | ||
34 | # initialisation de RainTPL | 38 | # initialisation de RainTPL |
35 | raintpl::$tpl_dir = './tpl/'; | 39 | raintpl::$tpl_dir = './tpl/'; |
@@ -37,4 +41,5 @@ raintpl::$cache_dir = './cache/'; | |||
37 | raintpl::$base_url = get_poche_url(); | 41 | raintpl::$base_url = get_poche_url(); |
38 | raintpl::configure('path_replace', false); | 42 | raintpl::configure('path_replace', false); |
39 | raintpl::configure('debug', false); | 43 | raintpl::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 | ||