Merged in jennydmz/processmaker/PM-483_master (pull request #1001)

PM-483 FEATURE. Warning al ingresar a PM desde un browser no soportado.
This commit is contained in:
Julio Cesar Laura Avendaño
2014-10-20 18:26:54 -04:00
3 changed files with 57 additions and 0 deletions

View File

@@ -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();

View File

@@ -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();