aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
authornicosomb <nicolas@loeuillet.org>2013-04-21 18:42:20 +0200
committernicosomb <nicolas@loeuillet.org>2013-04-21 18:42:20 +0200
commit6f87a19714057e370a6b970bbfb82af5abd968f9 (patch)
treeda361e8de0c275e7ae4735fedff6ce414ecb781d /index.php
parent44e77bfa2481090e559b56fd8ffbe5b175ab55ca (diff)
downloadwallabag-6f87a19714057e370a6b970bbfb82af5abd968f9.tar.gz
wallabag-6f87a19714057e370a6b970bbfb82af5abd968f9.tar.zst
wallabag-6f87a19714057e370a6b970bbfb82af5abd968f9.zip
Fixed #64 - nettoyage de MyTool
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/index.php b/index.php
index 954d9224..f64a0418 100644
--- a/index.php
+++ b/index.php
@@ -11,6 +11,7 @@
11include dirname(__FILE__).'/inc/config.php'; 11include dirname(__FILE__).'/inc/config.php';
12 12
13# initialize session 13# initialize session
14myTool::initPhp();
14Session::init(); 15Session::init();
15# XSRF protection with token 16# XSRF protection with token
16if (!empty($_POST)) { 17if (!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
67if (Session::isLogged()) { 68if (Session::isLogged()) {