aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/index.php b/index.php
index 7260e583..5ca8bef5 100644
--- a/index.php
+++ b/index.php
@@ -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
11define ('POCHE', '1.5.2'); 11define ('POCHE', '1.5.3');
12require 'check_setup.php'; 12require 'check_setup.php';
13require_once 'inc/poche/global.inc.php'; 13require_once 'inc/poche/global.inc.php';
14session_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();