diff options
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); |