diff options
author | nicosomb <nicolas@loeuillet.org> | 2013-04-21 18:42:20 +0200 |
---|---|---|
committer | nicosomb <nicolas@loeuillet.org> | 2013-04-21 18:42:20 +0200 |
commit | 6f87a19714057e370a6b970bbfb82af5abd968f9 (patch) | |
tree | da361e8de0c275e7ae4735fedff6ce414ecb781d /index.php | |
parent | 44e77bfa2481090e559b56fd8ffbe5b175ab55ca (diff) | |
download | wallabag-6f87a19714057e370a6b970bbfb82af5abd968f9.tar.gz wallabag-6f87a19714057e370a6b970bbfb82af5abd968f9.tar.zst wallabag-6f87a19714057e370a6b970bbfb82af5abd968f9.zip |
Fixed #64 - nettoyage de MyTool
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -11,6 +11,7 @@ | |||
11 | include dirname(__FILE__).'/inc/config.php'; | 11 | include dirname(__FILE__).'/inc/config.php'; |
12 | 12 | ||
13 | # initialize session | 13 | # initialize session |
14 | myTool::initPhp(); | ||
14 | Session::init(); | 15 | Session::init(); |
15 | # XSRF protection with token | 16 | # XSRF protection with token |
16 | if (!empty($_POST)) { | 17 | if (!empty($_POST)) { |
@@ -61,7 +62,7 @@ $url = (isset ($_GET['url'])) ? $_GET['url'] : ''; | |||
61 | $tpl->assign('isLogged', Session::isLogged()); | 62 | $tpl->assign('isLogged', Session::isLogged()); |
62 | $tpl->assign('referer', $ref); | 63 | $tpl->assign('referer', $ref); |
63 | $tpl->assign('view', $view); | 64 | $tpl->assign('view', $view); |
64 | $tpl->assign('poche_url', get_poche_url()); | 65 | $tpl->assign('poche_url', myTool::getUrl()); |
65 | $tpl->assign('title', 'poche, a read it later open source system'); | 66 | $tpl->assign('title', 'poche, a read it later open source system'); |
66 | 67 | ||
67 | if (Session::isLogged()) { | 68 | if (Session::isLogged()) { |