20 defined(
'XOOPS_ROOT_PATH') or die('Restricted access');
31 function eventCoreUserStart($args)
36 }
else if (isset(
$_GET[
'op'])) {
39 if (
$op !=
'login' && (empty(
$_GET[
'from']) ||
'profile' !=
$_GET[
'from'])) {
40 header(
"location: ./modules/profile/user.php" . (empty(
$_SERVER[
'QUERY_STRING']) ?
"" :
"?" .
$_SERVER[
'QUERY_STRING']));
45 function eventCoreEdituserStart($args)
47 header(
"location: ./modules/profile/edituser.php" . (empty(
$_SERVER[
'QUERY_STRING']) ?
"" :
"?" .
$_SERVER[
'QUERY_STRING']));
51 function eventCoreLostpassStart($args)
55 header(
"location: ./modules/profile/lostpass.php?email={$email}" . (empty(
$_GET[
'code']) ?
"" :
"&" .
$_GET[
'code']));
59 function eventCoreRegisterStart($args)
61 header(
"location: ./modules/profile/register.php" . (empty(
$_SERVER[
'QUERY_STRING']) ?
"" :
"?" .
$_SERVER[
'QUERY_STRING']) );
65 function eventCoreUserinfoStart($args)
67 header(
"location: ./modules/profile/userinfo.php" . (empty(
$_SERVER[
'QUERY_STRING']) ?
"" :
"?" .
$_SERVER[
'QUERY_STRING']) );