|
|
|
@ -6,7 +6,7 @@ |
|
|
|
Class LoginRedirection { |
|
|
|
Class LoginRedirection { |
|
|
|
|
|
|
|
|
|
|
|
//checks user status and redirect him through custom page if setting is enabled |
|
|
|
//checks user status and redirect him through custom page if setting is enabled |
|
|
|
public function redirect(){ |
|
|
|
public static function redirect(){ |
|
|
|
|
|
|
|
|
|
|
|
global $param; |
|
|
|
global $param; |
|
|
|
$param = isset($param) ? $param : ''; |
|
|
|
$param = isset($param) ? $param : ''; |
|
|
|
@ -58,5 +58,4 @@ Class LoginRedirection { |
|
|
|
header('location: '.api_get_path(WEB_PATH).api_get_setting('page_after_login').$param); |
|
|
|
header('location: '.api_get_path(WEB_PATH).api_get_setting('page_after_login').$param); |
|
|
|
exit(); |
|
|
|
exit(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
?> |
|
|
|
|