7
I am Curious if this ever worked,
I tried your suggestion, and i cleared cache and session, but it did not work for me.
Path:
include/checklogin.php
Quote:
if (!empty($_POST['xoops_redirect']) && !strpos($_POST['xoops_redirect'], 'register')) { $_POST['xoops_redirect'] = trim( $_POST['xoops_redirect'] ); $parsed = parse_url(XOOPS_URL); $url = isset($parsed['scheme']) ? $parsed['scheme'].'://' : 'http://'; if ( isset( $parsed['host'] ) ) { $url .= $parsed['host']; if ( isset( $parsed['port'] ) ) { $url .= ':' . $parsed['port']; } } else { $url .= $_SERVER['HTTP_HOST']; } if ( @$parsed['path'] ) { if ( strncmp( $parsed['path'], $_POST['xoops_redirect'], strlen( $parsed['path'] ) ) ) { $url .= $parsed['path']; } } $url .= $_POST['xoops_redirect']; } else { $url = XOOPS_URL.'/modules/yogurt/index.php'; }