aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/index.php b/index.php
index 40539a04..9566fb01 100644
--- a/index.php
+++ b/index.php
@@ -1582,6 +1582,13 @@ function renderPage($conf, $pluginManager, $LINKSDB, $history)
1582 exit; 1582 exit;
1583 } 1583 }
1584 1584
1585 // Get a fresh token
1586 if ($targetPage == Router::$GET_TOKEN) {
1587 header('Content-Type:text/plain');
1588 echo getToken($conf);
1589 exit;
1590 }
1591
1585 // -------- Otherwise, simply display search form and links: 1592 // -------- Otherwise, simply display search form and links:
1586 showLinkList($PAGE, $LINKSDB, $conf, $pluginManager); 1593 showLinkList($PAGE, $LINKSDB, $conf, $pluginManager);
1587 exit; 1594 exit;