document that zm_session_start should be called previously to session_regenerate_id

This commit is contained in:
Isaac Connor 2019-08-16 15:08:35 -04:00
parent 28155ebd90
commit 070b8066f2
1 changed files with 2 additions and 1 deletions

View File

@ -28,7 +28,8 @@ function zm_session_start() {
}
} // function zm_session_start()
// My session regenerate id function
// session regenerate id function
// Assumes that zm_session_start has been called previously
function zm_session_regenerate_id() {
if ( session_status() != PHP_SESSION_ACTIVE ) {
session_start();