aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
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);