HOR-3670
Fixed EnterpriseClass name Moved side effects code to class G helper and called from boot scripts
This commit is contained in:
@@ -5823,6 +5823,20 @@ class G
|
||||
$_SESSION['_DATA_TRIGGER_']['_TRI_LOG_'] = true;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Define the Processmaker constants.
|
||||
*
|
||||
*/
|
||||
public static function defineConstants()
|
||||
{
|
||||
//Moved from Enterprise class.
|
||||
if (file_exists(PATH_METHODS . "login/version-pmos.php")) {
|
||||
include (PATH_METHODS . "login/version-pmos.php");
|
||||
} else {
|
||||
define("PM_VERSION", "2.0.0");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user