mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 07:22:11 +00:00
set 'referer' in View to HTTP_REFERER
This commit is contained in:
parent
7a322702af
commit
7e32644307
|
@ -127,6 +127,7 @@ class UI extends UI_Default {
|
|||
$params['settings'] = $settings;
|
||||
$view = new $classname($params, $theme);
|
||||
/* Set some configuration parameters */
|
||||
$view->setParam('referer', isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '');
|
||||
$view->setParam('refferer', $_SERVER['REQUEST_URI']);
|
||||
$view->setParam('absbaseprefix', $settings->_httpRoot.$httpbasedir);
|
||||
$view->setParam('theme', $theme);
|
||||
|
|
Loading…
Reference in New Issue
Block a user