The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/printthread.php 16 require_once



UserSpice
$dest - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23)
+--- Forum: UserSpice 4.3 and Below (https://userspice.com/forums/forumdisplay.php?fid=26)
+--- Thread: $dest (/showthread.php?tid=499)



$dest - Brandin - 03-17-2017

Hi there,

Where is
Code:
$dest
defined at that
Code:
login.php
uses? Some of my files have variables e.g.
Code:
cron.php?type=bb
, so the
Code:
$dest
drops the
Code:
?type
part, I need to override this function to use my
Code:
$actual_link
script you brought to my attention from another script:
Code:
$actual_link = "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";

Any assistance would be greatly appreciated!


$dest - mudmin - 03-19-2017

What version are you using? I'm thinking that $dest bug was fixed in one of the last few patches. The dest comes from the securepage function where a person is redirected to login for not being logged in.


$dest - Brandin - 03-19-2017

Latest, 4.2.3, I will make my own modifications once I locate it until it is patched. Thanks!