query($reqSelect); $result=$resConn->fetch(PDO::FETCH_ASSOC); if($result==1) $auth=true; else $auth=false; $_SESSION['auth']=$auth; if (isset($debug[2]) && $debug[2] == '1') { $debugMsg .= monDebug(2, ['SESSION[isWbAdm]' => $_SESSION['isWbAdm'], 'SESSION[auth]' => $_SESSION['auth'], 'SESSION[isProd]' => $_SESSION['isProd'] ,'auth' => $auth ], ''); } ?>