]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - index.php
Merge pull request #712 from wallabag/dev
[github/wallabag/wallabag.git] / index.php
index 7f72b14699e8e334c4101e7680dd63d4c4cd70a9..472e0fabc20e3d34885367999e7258fd7a187567 100755 (executable)
--- a/index.php
+++ b/index.php
@@ -8,7 +8,7 @@
  * @license    http://www.wtfpl.net/ see COPYING file
  */
 
-define ('POCHE', '1.6.0');
+define ('POCHE', '1.7.0');
 require 'check_setup.php';
 require_once 'inc/poche/global.inc.php';
 
@@ -66,6 +66,12 @@ if (isset($_GET['login'])) {
 } elseif (isset($_GET['config'])) {
     # Update password
     $poche->updatePassword();
+} elseif (isset($_GET['newuser'])) {
+    $poche->createNewUser();
+} elseif (isset($_GET['deluser'])) {
+    $poche->deleteUser();
+} elseif (isset($_GET['epub'])) {
+    $poche->createEpub();
 } elseif (isset($_GET['import'])) {
     $import = $poche->import();
     $tpl_vars = array_merge($tpl_vars, $import);