From 9680d95e000374c0afaa9b765bfe601f0cd9b6ca Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Fri, 14 Jun 2013 00:02:53 +0200 Subject: [PATCH] set refferer for view --- inc/inc.ClassUI.php | 1 + 1 file changed, 1 insertion(+) diff --git a/inc/inc.ClassUI.php b/inc/inc.ClassUI.php index c2a85773d..8b3582cd8 100644 --- a/inc/inc.ClassUI.php +++ b/inc/inc.ClassUI.php @@ -51,6 +51,7 @@ class UI extends UI_Default { $classname = "SeedDMS_View_".$class; $view = new $classname($params, $theme); /* Set some configuration parameters */ + $view->setParam('refferer', $_SERVER['REQUEST_URI']); $view->setParam('session', $session); $view->setParam('sitename', $settings->_siteName); $view->setParam('rootfolderid', $settings->_rootFolderID);