added to cookies redirect_url in case you go to signup Form to remember where to return

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9798 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
dragan-dan 2011-11-03 13:52:14 +00:00
parent c5673fb7d5
commit c34090b7fb
3 changed files with 10 additions and 1 deletions

View file

@ -17,6 +17,8 @@
* @brief Display messages
**/
function dispMessage() {
//setcookie for redirect url in case of going to member sign up
setcookie("XE_REDIRECT_URL", $_SERVER['REQUEST_URI']);
// Get configurations (using module model object)
$oModuleModel = &getModel('module');
$this->module_config = $config = $oModuleModel->getModuleConfig('message', $this->module_info->site_srl);