PM-483 FEATURE. Warning al ingresar a PM desde un browser no soportado.
Se aniadio la funcion detectBrowser() en la clase G, para poder determinar desde sysLogin.php(login sin variables en cache) y Login.php(login con variables en cache) desde que browser accede el usuario y lanzar un warning para avisarle si soportamos o no dicho navegador. Se uso los datos de la Wiki (http://wiki.processmaker.com/index.php/2.0/ProcessMaker_Installation_Requirements#Web_Browser_Compatibility) para la version 2.5.0 de pm como minimas versiones soportadas para PM2.8 (se detalla a continuacion). Versiones soportadas para PM 2.8: - IE -> 8, 9, 10, 11 - Chrome -> 26.0.x en adelante. - Firefox -> 20.x en adelante.
This commit is contained in:
@@ -22,6 +22,13 @@
|
||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||
*
|
||||
*/
|
||||
//Browser Compatibility
|
||||
$browserSupported = G::checkBrowserCompatibility();
|
||||
if ($browserSupported==false){
|
||||
if(!isset($_SESSION['G_MESSAGE']) || $_SESSION['G_MESSAGE'] == ""){
|
||||
G::SendTemporalMessage ('ID_BROWSER_NOT_SUPPORTED', 'warning');
|
||||
}
|
||||
}
|
||||
|
||||
$aFields = array();
|
||||
|
||||
|
||||
@@ -22,6 +22,13 @@
|
||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||
*
|
||||
*/
|
||||
//Browser Compatibility
|
||||
$browserSupported = G::checkBrowserCompatibility();
|
||||
if ($browserSupported==false){
|
||||
if(!isset($_SESSION['G_MESSAGE']) || $_SESSION['G_MESSAGE'] == ""){
|
||||
G::SendTemporalMessage ('ID_BROWSER_NOT_SUPPORTED', 'warning');
|
||||
}
|
||||
}
|
||||
|
||||
if (isset ($_POST['form']['USER_ENV'])) {
|
||||
@session_destroy();
|
||||
|
||||
Reference in New Issue
Block a user