Skip to content

Commit

Permalink
Use php_session_abort()
Browse files Browse the repository at this point in the history
  • Loading branch information
Yasuo Ohgaki committed Jan 12, 2016
1 parent a15e9cc commit 63c77ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/session/session.c
Original file line number Diff line number Diff line change
Expand Up @@ -1291,7 +1291,7 @@ static int php_session_cache_limiter(TSRMLS_D) /* {{{ */
const char *output_start_filename = php_output_get_start_filename(TSRMLS_C);
int output_start_lineno = php_output_get_start_lineno(TSRMLS_C);

PS(session_status) = php_session_none;
php_session_abort(TSRMLS_C);
if (output_start_filename) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Cannot send session cache limiter - headers already sent (output started at %s:%d)", output_start_filename, output_start_lineno);
} else {
Expand Down

0 comments on commit 63c77ee

Please sign in to comment.