diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -32,7 +32,7 @@ elseif (isset($_GET['config'])) { | |||
32 | $poche->updatePassword(); | 32 | $poche->updatePassword(); |
33 | } | 33 | } |
34 | elseif (isset($_GET['import'])) { | 34 | elseif (isset($_GET['import'])) { |
35 | $poche->import($_GET['from']); | 35 | $import = $poche->import($_GET['from']); |
36 | } | 36 | } |
37 | elseif (isset($_GET['export'])) { | 37 | elseif (isset($_GET['export'])) { |
38 | $poche->export(); | 38 | $poche->export(); |
@@ -53,7 +53,6 @@ if (Session::isLogged()) { | |||
53 | $tpl_vars = array_merge($tpl_vars, $poche->displayView($view, $id)); | 53 | $tpl_vars = array_merge($tpl_vars, $poche->displayView($view, $id)); |
54 | } | 54 | } |
55 | else { | 55 | else { |
56 | # login | ||
57 | $tpl_file = 'login.twig'; | 56 | $tpl_file = 'login.twig'; |
58 | } | 57 | } |
59 | 58 | ||