aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 1 insertions, 2 deletions
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'])) {
32 $poche->updatePassword(); 32 $poche->updatePassword();
33} 33}
34elseif (isset($_GET['import'])) { 34elseif (isset($_GET['import'])) {
35 $poche->import($_GET['from']); 35 $import = $poche->import($_GET['from']);
36} 36}
37elseif (isset($_GET['export'])) { 37elseif (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}
55else { 55else {
56 # login
57 $tpl_file = 'login.twig'; 56 $tpl_file = 'login.twig';
58} 57}
59 58