1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-26 18:21:02 +00:00

Fixed #64 - nettoyage de MyTool

This commit is contained in:
nicosomb 2013-04-21 18:42:20 +02:00
parent 44e77bfa24
commit 6f87a19714
3 changed files with 30 additions and 7 deletions

View file

@ -11,6 +11,7 @@
include dirname(__FILE__).'/inc/config.php';
# initialize session
myTool::initPhp();
Session::init();
# XSRF protection with token
if (!empty($_POST)) {
@ -61,7 +62,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()) {