| | |
| | | $OUTPUT_TYPE = 'html'; |
| | | $JS_OBJECT_NAME = 'rcmail'; |
| | | |
| | | if ($INSTALL_PATH!='') |
| | | if (empty($INSTALL_PATH)) |
| | | $INSTALL_PATH = './'; |
| | | else |
| | | $INSTALL_PATH .= '/'; |
| | | |
| | | // RC include folders MUST be included FIRST to avoid other |
| | |
| | | } |
| | | |
| | | // check session cookie and auth string |
| | | else if ($_action!='login' && $sess_auth) |
| | | else if ($_action!='login' && $sess_auth && $_SESSION['user_id']) |
| | | { |
| | | if ($_auth !== $sess_auth || $_auth != rcmail_auth_hash($_SESSION['client_id'], $_SESSION['auth_time']) || |
| | | ($CONFIG['session_lifetime'] && $SESS_CHANGED + $CONFIG['session_lifetime']*60 < mktime())) |