diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-01-23 20:05:41 +0100 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-01-26 11:34:14 +0100 |
commit | 9e4cc28e2957e1f7df713d52a03e350d728dc58e (patch) | |
tree | c659f36c3f483de0cfae30cada7441c9d3e48226 /application/Utils.php | |
parent | dd51f653d07dba226fa1088f56ca258ef9b4ae87 (diff) | |
download | Shaarli-9e4cc28e2957e1f7df713d52a03e350d728dc58e.tar.gz Shaarli-9e4cc28e2957e1f7df713d52a03e350d728dc58e.tar.zst Shaarli-9e4cc28e2957e1f7df713d52a03e350d728dc58e.zip |
Fix all existing links and redirection to ?do=login
Diffstat (limited to 'application/Utils.php')
-rw-r--r-- | application/Utils.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/Utils.php b/application/Utils.php index 56f5b9a2..4b7fc546 100644 --- a/application/Utils.php +++ b/application/Utils.php | |||
@@ -159,7 +159,7 @@ function checkDateFormat($format, $string) | |||
159 | */ | 159 | */ |
160 | function generateLocation($referer, $host, $loopTerms = array()) | 160 | function generateLocation($referer, $host, $loopTerms = array()) |
161 | { | 161 | { |
162 | $finalReferer = '?'; | 162 | $finalReferer = './?'; |
163 | 163 | ||
164 | // No referer if it contains any value in $loopCriteria. | 164 | // No referer if it contains any value in $loopCriteria. |
165 | foreach (array_filter($loopTerms) as $value) { | 165 | foreach (array_filter($loopTerms) as $value) { |