diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-02-19 13:47:11 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-02-19 13:47:11 +0100 |
commit | 60ca369cd328f4eae31005c547b9419a5ab33324 (patch) | |
tree | f9ab84e607cb54bdb0dc1d0027435af213a722f3 /index.php | |
parent | 5e98c2183ae824ab6a1dd2dc22f8619a0d718977 (diff) | |
parent | b89d5a2bf48c2c1eb796963b3401aca498618ec4 (diff) | |
download | wallabag-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.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'])) { |