X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fconfig.php;h=9d4b7fae260cb9478650346f35a8a48840d90b3e;hb=refs%2Fpull%2F67%2Fhead;hp=cf3529cb1e8de4e198e3c7e258f06a6bfeefd135;hpb=14890de35a19b44df6537e601240fe38ff6a9ed9;p=github%2Fwallabag%2Fwallabag.git 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'; require_once 'store/store.class.php'; require_once 'store/sqlite.class.php'; require_once 'store/file.class.php'; +require_once 'class.messages.php'; -$store = new $storage_type(); +Session::init(); + +$store = new $storage_type(); +$msg = new Messages(); # initialisation de RainTPL raintpl::$tpl_dir = './tpl/'; @@ -37,4 +41,5 @@ 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 +$tpl = new raintpl(); +$tpl->assign('msg', $msg); \ No newline at end of file