From 07ee09f49ad3a6ac567f123b338ccb75b1464164 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Thu, 8 Aug 2013 12:33:02 +0200 Subject: comments --- index.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index 353df873..a60e4e94 100644 --- a/index.php +++ b/index.php @@ -32,7 +32,7 @@ elseif (isset($_GET['config'])) { $poche->updatePassword(); } elseif (isset($_GET['import'])) { - $poche->import($_GET['from']); + $import = $poche->import($_GET['from']); } elseif (isset($_GET['export'])) { $poche->export(); @@ -53,7 +53,6 @@ if (Session::isLogged()) { $tpl_vars = array_merge($tpl_vars, $poche->displayView($view, $id)); } else { - # login $tpl_file = 'login.twig'; } -- cgit v1.2.3