aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2014-05-29 18:54:06 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2014-05-29 18:54:06 +0200
commita9f5e572dde4f986a498d2fbe92a38a1b22f9595 (patch)
tree80b5bfc9836ae92cc4929a4d72ae0b2730e568bc /index.php
parent96834a47b09985e1c82b82857fc108f20e8b8f2b (diff)
parent8038b38802769031e050c753fc0a388a2276629e (diff)
downloadwallabag-1.7.0.tar.gz
wallabag-1.7.0.tar.zst
wallabag-1.7.0.zip
Merge pull request #712 from wallabag/dev1.7.0
1.7, call me "Premium version"
Diffstat (limited to 'index.php')
-rwxr-xr-xindex.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/index.php b/index.php
index deb13d7a..472e0fab 100755
--- a/index.php
+++ b/index.php
@@ -8,7 +8,7 @@
8 * @license http://www.wtfpl.net/ see COPYING file 8 * @license http://www.wtfpl.net/ see COPYING file
9 */ 9 */
10 10
11define ('POCHE', '1.6.1'); 11define ('POCHE', '1.7.0');
12require 'check_setup.php'; 12require 'check_setup.php';
13require_once 'inc/poche/global.inc.php'; 13require_once 'inc/poche/global.inc.php';
14 14
@@ -66,6 +66,12 @@ if (isset($_GET['login'])) {
66} elseif (isset($_GET['config'])) { 66} elseif (isset($_GET['config'])) {
67 # Update password 67 # Update password
68 $poche->updatePassword(); 68 $poche->updatePassword();
69} elseif (isset($_GET['newuser'])) {
70 $poche->createNewUser();
71} elseif (isset($_GET['deluser'])) {
72 $poche->deleteUser();
73} elseif (isset($_GET['epub'])) {
74 $poche->createEpub();
69} elseif (isset($_GET['import'])) { 75} elseif (isset($_GET['import'])) {
70 $import = $poche->import(); 76 $import = $poche->import();
71 $tpl_vars = array_merge($tpl_vars, $import); 77 $tpl_vars = array_merge($tpl_vars, $import);