diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -9,6 +9,7 @@ | |||
9 | */ | 9 | */ |
10 | 10 | ||
11 | define ('POCHE', '1.5.0'); | 11 | define ('POCHE', '1.5.0'); |
12 | require 'check_setup.php'; | ||
12 | require_once 'inc/poche/global.inc.php'; | 13 | require_once 'inc/poche/global.inc.php'; |
13 | session_start(); | 14 | session_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'])) { |