aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2014-02-19 13:47:11 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2014-02-19 13:47:11 +0100
commit60ca369cd328f4eae31005c547b9419a5ab33324 (patch)
treef9ab84e607cb54bdb0dc1d0027435af213a722f3 /index.php
parent5e98c2183ae824ab6a1dd2dc22f8619a0d718977 (diff)
parentb89d5a2bf48c2c1eb796963b3401aca498618ec4 (diff)
downloadwallabag-60ca369cd328f4eae31005c547b9419a5ab33324.tar.gz
wallabag-60ca369cd328f4eae31005c547b9419a5ab33324.tar.zst
wallabag-60ca369cd328f4eae31005c547b9419a5ab33324.zip
Merge pull request #468 from wallabag/dev1.5.1
1.5.1
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'])) {