Typo, session_name is a function.
This commit is contained in:
parent
5ba46186b7
commit
d0793c0f44
@ -140,7 +140,7 @@ function common_have_session()
|
|||||||
function common_ensure_session()
|
function common_ensure_session()
|
||||||
{
|
{
|
||||||
$c = null;
|
$c = null;
|
||||||
if (array_key_exists(session_name, $_COOKIE)) {
|
if (array_key_exists(session_name(), $_COOKIE)) {
|
||||||
$c = $_COOKIE[session_name()];
|
$c = $_COOKIE[session_name()];
|
||||||
}
|
}
|
||||||
if (!common_have_session()) {
|
if (!common_have_session()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user