PM-4258 Se desloguea al ejecutar un caso cuando... SOLVED

- Add validation license feature
This commit is contained in:
Marco A. Nina Mena
2015-12-01 12:45:19 -04:00
parent 3a48ce004f
commit a04f92cdcd

View File

@@ -1,10 +1,13 @@
<script> <script>
if (typeof window.parent != 'undefined') { if (typeof window.parent != 'undefined') {
<?php <?php
$enablePMGmail = false; $enablePMGmail = false;
require_once (PATH_HOME . "engine" . PATH_SEP . "classes" . PATH_SEP . "class.pmDrive.php"); $licensedFeatures = &PMLicensedFeatures::getSingleton();
$pmDrive = new PMDrive(); if ($licensedFeatures->verifyfeature('7qhYmF1eDJWcEdwcUZpT0k4S0xTRStvdz09')) {
$enablePMGmail = $pmDrive->getStatusService(); G::LoadClass( "pmDrive" );
$pmDrive = new PMDrive();
$enablePMGmail = $pmDrive->getStatusService();
}
if (isset( $_GET['ux'] )) { if (isset( $_GET['ux'] )) {
switch ($_GET['ux']) { switch ($_GET['ux']) {
case 'SIMPLIFIED': case 'SIMPLIFIED':