A bot try to have access to extranet (for use with index/portefeuillecsv - altiscore) - Check basically the validity of get_browser

This commit is contained in:
Michael RICOIS 2013-06-14 15:47:33 +00:00
parent 0307a45af5
commit 669b538a97

View File

@ -54,8 +54,12 @@ class Application_Controller_Plugin_Auth extends Zend_Controller_Plugin_Abstract
$user = new Scores_Utilisateur();
$info = get_browser();
$isMobile = ($info->ismobiledevice==1) ? 1 : 0;
$user->setBrowserInfo($info->platform, $info->browser, $info->version, $isMobile);
if ( $info ) {
$isMobile = ($info->ismobiledevice==1) ? 1 : 0;
$user->setBrowserInfo($info->platform, $info->browser, $info->version, $isMobile);
} else {
//Save botnet information
}
} else {
$messageF = '';