Skip to content

Commit 1438429

Browse files
committed
Add "session.configuration"
1 parent ad35e68 commit 1438429

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ext/session/session.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,7 @@ static PHP_INI_MH(OnUpdateUseOnlyCookies)
815815
bool *p = (bool *) ZEND_INI_GET_ADDR();
816816
*p = zend_ini_parse_bool(new_value);
817817
if (!*p) {
818-
php_error_docref(NULL, E_DEPRECATED, "Disabling session.use_only_cookies INI setting is deprecated");
818+
php_error_docref("session.configuration", E_DEPRECATED, "Disabling session.use_only_cookies INI setting is deprecated");
819819
}
820820
return SUCCESS;
821821
}
@@ -827,7 +827,7 @@ static PHP_INI_MH(OnUpdateUseTransSid)
827827
bool *p = (bool *) ZEND_INI_GET_ADDR();
828828
*p = zend_ini_parse_bool(new_value);
829829
if (*p) {
830-
php_error_docref(NULL, E_DEPRECATED, "Enabling session.use_trans_sid INI setting is deprecated");
830+
php_error_docref("session.configuration", E_DEPRECATED, "Enabling session.use_trans_sid INI setting is deprecated");
831831
}
832832
return SUCCESS;
833833
}
@@ -837,7 +837,7 @@ static PHP_INI_MH(OnUpdateRefererCheck)
837837
SESSION_CHECK_ACTIVE_STATE;
838838
SESSION_CHECK_OUTPUT_STATE;
839839
if (ZSTR_LEN(new_value) != 0) {
840-
php_error_docref(NULL, E_DEPRECATED, "Usage of session.referer_check INI setting is deprecated");
840+
php_error_docref("session.configuration", E_DEPRECATED, "Usage of session.referer_check INI setting is deprecated");
841841
}
842842
return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
843843
}

0 commit comments

Comments
 (0)