DOCSYSTEM Generar la variable SYSTEM_NAME

Generar la variable SYSTEM_NAME
This commit is contained in:
Brayan Osmar Pereyra Suxo
2013-04-26 11:45:03 -04:00
parent fe54509467
commit 1c27d1fd4d
3 changed files with 40 additions and 4 deletions

View File

@@ -733,8 +733,11 @@ class Main extends Controller
$properties = array ();
$ee = class_exists( 'pmLicenseManager' ) ? " - Enterprise Edition" : '';
$properties[] = array ('ProcessMaker Ver.',System::getVersion() . $ee,$pmSection
);
$systemName = 'ProcessMaker';
if (!defined('SYSTEM_NAME')) {
$systemName = SYSTEM_NAME;
}
$properties[] = array ($systemName. ' Ver.', System::getVersion() . $ee, $pmSection);
if (file_exists(PATH_DATA. 'log/upgrades.log')) {
$properties[] = array (G::LoadTranslation('ID_UPGRADES_PATCHES'), '<a href="#" onclick="showUpgradedLogs(); return false;">' . G::LoadTranslation( 'ID_UPGRADE_VIEW_LOG') . '</a>' ,$pmSection);