BY_248 Community Fatal error dynaform

- Add lines of community
This commit is contained in:
Marco A. Nina Mena
2016-04-21 12:17:13 -04:00
parent 84a88c9bc2
commit 161b6bd4ef
2 changed files with 4 additions and 0 deletions

View File

@@ -110,6 +110,7 @@ if (! $sw_file_exists) {
$nameFile = $oAppDocument->Fields['APP_DOC_FILENAME'];
$licensedFeatures = &PMLicensedFeatures::getSingleton();
$downloadStatus = false;
/*----------------------------------********---------------------------------*/
if ($licensedFeatures->verifyfeature('AhKNjBEVXZlWUFpWE8wVTREQ0FObmo0aTdhVzhvalFic1M=')) {
G::LoadClass( "AppDocumentDrive" );
$drive = new AppDocumentDrive();
@@ -129,6 +130,7 @@ if (! $sw_file_exists) {
}
}
}
/*----------------------------------********---------------------------------*/
if (!$downloadStatus) {
G::streamFile( $realPath, $bDownload, $nameFile ); //download
}

View File

@@ -112,6 +112,7 @@ if (! $sw_file_exists) {
$nameFile = $info['basename'] . $ver . '.' . $ext;
$licensedFeatures = &PMLicensedFeatures::getSingleton();
$downloadStatus = false;
/*----------------------------------********---------------------------------*/
if ($licensedFeatures->verifyfeature('AhKNjBEVXZlWUFpWE8wVTREQ0FObmo0aTdhVzhvalFic1M=')) {
G::LoadClass( "AppDocumentDrive" );
$drive = new AppDocumentDrive();
@@ -132,6 +133,7 @@ if (! $sw_file_exists) {
}
}
}
/*----------------------------------********---------------------------------*/
if (!$downloadStatus) {
G::streamFile( $realPath, $download, $nameFile); //download
}