diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-05-29 18:54:06 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-05-29 18:54:06 +0200 |
commit | a9f5e572dde4f986a498d2fbe92a38a1b22f9595 (patch) | |
tree | 80b5bfc9836ae92cc4929a4d72ae0b2730e568bc /index.php | |
parent | 96834a47b09985e1c82b82857fc108f20e8b8f2b (diff) | |
parent | 8038b38802769031e050c753fc0a388a2276629e (diff) | |
download | wallabag-a9f5e572dde4f986a498d2fbe92a38a1b22f9595.tar.gz wallabag-a9f5e572dde4f986a498d2fbe92a38a1b22f9595.tar.zst wallabag-a9f5e572dde4f986a498d2fbe92a38a1b22f9595.zip |
Merge pull request #712 from wallabag/dev1.7.0
1.7, call me "Premium version"
Diffstat (limited to 'index.php')
-rwxr-xr-x | index.php | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 | ||
11 | define ('POCHE', '1.6.1'); | 11 | define ('POCHE', '1.7.0'); |
12 | require 'check_setup.php'; | 12 | require 'check_setup.php'; |
13 | require_once 'inc/poche/global.inc.php'; | 13 | require_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); |