WEBSITE_LOGIN_POST_LOGOFF_URL

2 posts by 2 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: June 21, 2010   (RSS)

By aev - June 20, 2010

Hi,

Inside the Website Membership plugin I'm trying to set the logoff redirect url using a setting from the "General Settings" section, like this:

$GLOBALS['WEBSITE_LOGIN_POST_LOGOFF_URL'] = $SETTINGS['websiteUrl']; // user gets redirected here after logoff

But I'm getting this error:

Notice: Undefined variable: SETTINGS in /home/users/clientname/www/cmsAdmin/plugins/websiteMembership.php on line 17

Shouldn't this be possible? It would certainly be convenient :)

-aev-