Changeset:
32d759c51ac1
https://sourceforge.net/p/mrbs/hg-code/ci/32d759c51ac14f2a40ff76b805694ee3c158f325
Author:
Campbell Morrison <[email protected]>
Date:
Fri Jul 03 12:57:56 2015 +0100
Log message:
Fixed a problem with absolute pathnames
diffstat:
web/pending.php | 3 +--
web/view_entry.php | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 571fb3bd6add -r 32d759c51ac1 web/pending.php
--- a/web/pending.php Thu May 28 08:11:01 2015 +0100
+++ b/web/pending.php Fri Jul 03 12:57:56 2015 +0100
@@ -5,11 +5,10 @@
function display_buttons($row, $is_series)
{
- global $PHP_SELF;
global $user, $reminders_enabled, $reminder_interval;
$last_reminded = (empty($row['reminded'])) ? $row['last_updated'] :
$row['reminded'];
- $returl = $PHP_SELF;
+ $returl = this_page();
$target_id = ($is_series) ? $row['repeat_id'] : $row['id'];
diff -r 571fb3bd6add -r 32d759c51ac1 web/view_entry.php
--- a/web/view_entry.php Thu May 28 08:11:01 2015 +0100
+++ b/web/view_entry.php Fri Jul 03 12:57:56 2015 +0100
@@ -255,7 +255,7 @@
{
if (isset($HTTP_REFERER))
{
- $returl = $HTTP_REFERER;
+ $returl = basename($HTTP_REFERER);
}
// If we haven't got a referer (eg we've come here from an email) then
construct
// a sensible place to go to afterwards
------------------------------------------------------------------------------
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits