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:
parent
44e77bfa24
commit
6f87a19714
3 changed files with 30 additions and 7 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue