aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/index.php b/index.php
index 60755cf7..7ded3bdb 100644
--- a/index.php
+++ b/index.php
@@ -9,6 +9,7 @@
9 */ 9 */
10 10
11define ('POCHE', '1.5.0'); 11define ('POCHE', '1.5.0');
12require 'check_setup.php';
12require_once 'inc/poche/global.inc.php'; 13require_once 'inc/poche/global.inc.php';
13session_start(); 14session_start();
14 15
@@ -65,7 +66,9 @@ if (isset($_GET['login'])) {
65} elseif (isset($_GET['import'])) { 66} elseif (isset($_GET['import'])) {
66 $import = $poche->import($_GET['from']); 67 $import = $poche->import($_GET['from']);
67} elseif (isset($_GET['download'])) { 68} elseif (isset($_GET['download'])) {
68 Tools::download_db();; 69 Tools::download_db();
70} elseif (isset($_GET['empty-cache'])) {
71 $poche->emptyCache();
69} elseif (isset($_GET['export'])) { 72} elseif (isset($_GET['export'])) {
70 $poche->export(); 73 $poche->export();
71} elseif (isset($_GET['updatetheme'])) { 74} elseif (isset($_GET['updatetheme'])) {