|
@@ -2463,7 +2463,7 @@ function onlylogin()
|
|
|
function checklogin()
|
|
function checklogin()
|
|
|
{
|
|
{
|
|
|
global $allowcustompages, $customsummarypages;
|
|
global $allowcustompages, $customsummarypages;
|
|
|
- global $userlist, $ses;
|
|
|
|
|
|
|
+ global $readonly, $userlist, $ses;
|
|
|
|
|
|
|
|
$out = trim(getparam('logout', true));
|
|
$out = trim(getparam('logout', true));
|
|
|
if ($out !== null && $out !== '' && isset($_SESSION[$ses]))
|
|
if ($out !== null && $out !== '' && isset($_SESSION[$ses]))
|