fix check flash support

skala
asus 14 years ago
parent 21cbb2d6c5
commit 6102cba636
  1. 4
      user_portal.php

@ -229,8 +229,8 @@ else{
//check for flash and message
$sniff_notification = '';
if (stripos("flash_yes", $_SESSION['sniff_check_some_activex'])===0 || stripos("flash_yes", $_SESSION['sniff_check_some_plugins'])===0){
$sniff_notification = Display::return_message(get_lang('NoFlash'), 'warning', false);
if (stripos($_SESSION['sniff_check_some_activex'],"flash_yes")===0 || stripos($_SESSION['sniff_check_some_plugins'],"flash_yes")===0){
$sniff_notification = Display::return_message(get_lang('NoFlash'), 'warning', true);
//js verification - To annoying of redirecting every time the page
$controller->tpl->assign('sniff_notification', $sniff_notification);
}

Loading…
Cancel
Save