aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-08-08 12:33:02 +0200
committerNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-08-08 12:33:02 +0200
commit07ee09f49ad3a6ac567f123b338ccb75b1464164 (patch)
treed2400edbcd933751618a3c3d4f8e91e2b41002ed /index.php
parent25b5caeed1022b385b29d626c2266bccb4ceac40 (diff)
downloadwallabag-07ee09f49ad3a6ac567f123b338ccb75b1464164.tar.gz
wallabag-07ee09f49ad3a6ac567f123b338ccb75b1464164.tar.zst
wallabag-07ee09f49ad3a6ac567f123b338ccb75b1464164.zip
comments
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