Code: Select all
'U_LOGIN_LOGOUT' => append_sid("{$phpbb_root_path}ucp.{$phpEx}?mode=logout&redirect={$phpbb_root_path}mainpage.{$phpEx}"), 'S_SN_MP_' . strtoupper($mode) => true,
I can't seem to figure out why the append isn't appending, of course, as a result, the logout fails.
I have the main global variables declared:
Code: Select all
global $phpEx, $user, $template, $phpbb_root_path;
On the same token, I have an another issue with append_sid in that it only assigns absolute paths with urls it knows, anytime I do append_sid on custom functions, it leaves it as a relative path in the template: ./whatever
rather than http://domain/phpbbroot/whatever. I make heavy use of Apache mod_rewrite to create user friendly URLs, and of course, in those cases, the relative paths break if the mod_rewrite changes the directory structure.
Thanks for any tips.