diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -8,10 +8,9 @@ | |||
8 | * @license http://www.wtfpl.net/ see COPYING file | 8 | * @license http://www.wtfpl.net/ see COPYING file |
9 | */ | 9 | */ |
10 | 10 | ||
11 | define ('POCHE', '1.5.2'); | 11 | define ('POCHE', '1.5.3'); |
12 | require 'check_setup.php'; | 12 | require 'check_setup.php'; |
13 | require_once 'inc/poche/global.inc.php'; | 13 | require_once 'inc/poche/global.inc.php'; |
14 | session_start(); | ||
15 | 14 | ||
16 | # Start Poche | 15 | # Start Poche |
17 | $poche = new Poche(); | 16 | $poche = new Poche(); |
@@ -75,6 +74,8 @@ if (isset($_GET['login'])) { | |||
75 | $poche->updateTheme(); | 74 | $poche->updateTheme(); |
76 | } elseif (isset($_GET['updatelanguage'])) { | 75 | } elseif (isset($_GET['updatelanguage'])) { |
77 | $poche->updateLanguage(); | 76 | $poche->updateLanguage(); |
77 | } elseif (isset($_GET['uploadfile'])) { | ||
78 | $poche->uploadFile(); | ||
78 | } elseif (isset($_GET['feed'])) { | 79 | } elseif (isset($_GET['feed'])) { |
79 | if (isset($_GET['action']) && $_GET['action'] == 'generate') { | 80 | if (isset($_GET['action']) && $_GET['action'] == 'generate') { |
80 | $poche->generateToken(); | 81 | $poche->generateToken(); |