Members (Unofficial Release)
A dev version for Symphony 2.0.6
New#1: Wrong redirect after login if symphony is not installed in the root dir
editing doesn’t work.. either way, what I meant to post was:
redirect('http' . (defined('__SECURE__') && __SECURE__ ? 's' : '') . '://' . rtrim($_SERVER['HTTP_HOST'], '\/') . $_SERVER['REQUEST_URI']);
I’ve just installed symphony in a subdirectory (domain.com/test). When I login to the members extension using the provided login code, I get redirected to domain.com/test/test.
The error is on line 410 in the extension.driver.php file.
should become redirect(‘http’ . (defined(‘SECURE’) && SECURE ? ‘s’ : ”) . ‘://’ . rtrim($_SERVER[‘HTTP_HOST’], ‘\/’) . $_SERVER[‘REQUEST_URI’]);