]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - index.php
Merge pull request #72 from Silvus/dev
[github/wallabag/wallabag.git] / index.php
index 954d922473808a9af4086d98a0ef81637a132cd0..6eefd277e808647b331e42ca4c184cb03a0a38c4 100644 (file)
--- a/index.php
+++ b/index.php
@@ -10,8 +10,8 @@
 
 include dirname(__FILE__).'/inc/config.php';
 
-# initialize session
-Session::init();
+myTool::initPhp();
+
 # XSRF protection with token
 if (!empty($_POST)) {
     if (!Session::isToken($_POST['token'])) {
@@ -61,7 +61,7 @@ $url                = (isset ($_GET['url'])) ? $_GET['url'] : '';
 $tpl->assign('isLogged', Session::isLogged());
 $tpl->assign('referer', $ref);
 $tpl->assign('view', $view);
-$tpl->assign('poche_url', get_poche_url());
+$tpl->assign('poche_url', myTool::getUrl());
 $tpl->assign('title', 'poche, a read it later open source system');
 
 if (Session::isLogged()) {