Closed dimayakovlev closed 1 day ago
Values of global variables $cookie_domain and $cookie_secure are NULL, but function setcookie() required type string and boolean.
$cookie_domain
$cookie_secure
NULL
setcookie()
string
boolean
gs_setcookie()
gs_unsetcookie()
Part of #83.
It would be more correct to change the value type of the variables on definition.
Values of global variables
$cookie_domain
and$cookie_secure
areNULL
, but functionsetcookie()
required typestring
andboolean
.$cookie_domain
and$cookie_secure
to typestring
andboolean
in the functionsgs_setcookie()
andgs_unsetcookie()
.Part of #83.