$cfg['blowfish_secret'] = 'BLOWFISHSWAP'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */ /** * First server */ $i++; if (isset($_COOKIE['SignonSession'])) { $cfg['Servers'][$i]['auth_type'] = 'signon'; $cfg['Servers'][$i]['SignonSession'] = 'SignonSession'; $cfg['Servers'][$i]['SignonURL'] = 'direct_login/index.php'; $cfg['Servers'][$i]['LogoutURL'] = 'direct_login/logout.php'; } else { /* Authentication type */ $cfg['Servers'][$i]['auth_type'] = 'cookie'; /* Server parameters */ $cfg['Servers'][$i]['host'] = 'localhost'; $cfg['Servers'][$i]['compress'] = false; $cfg['Servers'][$i]['AllowNoPassword'] = false; } /** * End of servers configuration */