aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index 83f1264f..423a68f4 100644
--- a/index.php
+++ b/index.php
@@ -852,7 +852,7 @@ function renderPage($conf, $pluginManager, $bookmarkService, $history, $sessionM
852 // Show login screen, then redirect to ?post=... 852 // Show login screen, then redirect to ?post=...
853 if (isset($_GET['post'])) { 853 if (isset($_GET['post'])) {
854 header( // Redirect to login page, then back to post link. 854 header( // Redirect to login page, then back to post link.
855 'Location: /login?post='.urlencode($_GET['post']). 855 'Location: ./login?post='.urlencode($_GET['post']).
856 (!empty($_GET['title'])?'&title='.urlencode($_GET['title']):''). 856 (!empty($_GET['title'])?'&title='.urlencode($_GET['title']):'').
857 (!empty($_GET['description'])?'&description='.urlencode($_GET['description']):''). 857 (!empty($_GET['description'])?'&description='.urlencode($_GET['description']):'').
858 (!empty($_GET['tags'])?'&tags='.urlencode($_GET['tags']):''). 858 (!empty($_GET['tags'])?'&tags='.urlencode($_GET['tags']):'').
@@ -863,7 +863,7 @@ function renderPage($conf, $pluginManager, $bookmarkService, $history, $sessionM
863 863
864 showLinkList($PAGE, $bookmarkService, $conf, $pluginManager, $loginManager); 864 showLinkList($PAGE, $bookmarkService, $conf, $pluginManager, $loginManager);
865 if (isset($_GET['edit_link'])) { 865 if (isset($_GET['edit_link'])) {
866 header('Location: /login?edit_link='. escape($_GET['edit_link'])); 866 header('Location: ./login?edit_link='. escape($_GET['edit_link']));
867 exit; 867 exit;
868 } 868 }
869 869