aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
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()) {