nukeviet5:codex:hooks-reference:force_ssl_redirect
Đây là một phiên bản cũ của tài liệu!
force_ssl_redirect
Xảy_ra_khi_nào.
Tham số
Không có
Dữ liệu trả về
Giá trị true hoặc false, nếu true hệ thống tự ép thành https nếu false hệ thống vẫn để http mặc dù có cấu hình dùng ssl
Ví dụ viết plugin
nv_add_hook($module_name, 'force_ssl_redirect', $priority, function($vars) { return false; });
nukeviet5/codex/hooks-reference/force_ssl_redirect.1596699155.txt.gz · Sửa đổi lần cuối: 2020/08/06 14:32 bởi hoaquynhtim99