PMCORE-3847

This commit is contained in:
Mauricio Veliz
2022-06-09 10:33:21 -04:00
parent c7f234a4e3
commit 6d1d7d752e
5 changed files with 9 additions and 9 deletions

File diff suppressed because one or more lines are too long

View File

@@ -22664,8 +22664,8 @@ msgstr "Open SSL is optional"
# TRANSLATION
# LABEL/ID_PROCESSMAKER_REQUIREMENTS_PHP
#: LABEL/ID_PROCESSMAKER_REQUIREMENTS_PHP
msgid "PHP recommended version 7.4, we maintain compatibility starting with PHP 7.3"
msgstr "PHP recommended version 7.4, we maintain compatibility starting with PHP 7.3"
msgid "PHP recommended version 8.1, we maintain compatibility starting with PHP 7.4"
msgstr "PHP recommended version 8.1, we maintain compatibility starting with PHP 7.4"
# TRANSLATION
# LABEL/ID_PROCESSMAKER_REQUIREMENTS_SOAP

View File

@@ -14,7 +14,7 @@ class InstallerModule extends Controller
{
const MYSQL_VERSION_MAXIMUM_SUPPORTED = "5.7";
const PHP_VERSION_MINIMUM_SUPPORTED = "7.3";
const PHP_VERSION_NOT_SUPPORTED = "8";
const PHP_VERSION_NOT_SUPPORTED = "8.2";
public $path_config;
public $path_languages;
public $path_plugins;

View File

@@ -60691,7 +60691,7 @@ INSERT INTO TRANSLATION (TRN_CATEGORY,TRN_ID,TRN_LANG,TRN_VALUE,TRN_UPDATE_DATE
INSERT INTO TRANSLATION (TRN_CATEGORY,TRN_ID,TRN_LANG,TRN_VALUE,TRN_UPDATE_DATE ) VALUES
( 'LABEL','ID_PROCESSMAKER_REQUIREMENTS_OPENSSL_OPTIONAL','en','Open SSL is optional','2014-01-15') ,
( 'LABEL','ID_PROCESSMAKER_REQUIREMENTS_PHP','en','PHP recommended version 7.3, we maintain compatibility starting with PHP 7.1','2019-12-02') ,
( 'LABEL','ID_PROCESSMAKER_REQUIREMENTS_PHP','en','PHP recommended version 8.1, we maintain compatibility starting with PHP 7.4','2019-12-02') ,
( 'LABEL','ID_PROCESSMAKER_REQUIREMENTS_SOAP','en','Soap Support','2014-01-15') ,
( 'LABEL','ID_PROCESSMAKER_SLOGAN1','en','This Business Process is Powered By ProcessMaker','2014-01-15') ,
( 'LABEL','ID_PROCESSMAKER_SUCCESS_INSTALLED','en','ProcessMaker was successfully installed<br/>Workspace <b>" {0} " </b> was installed correctly.','2014-01-15') ,

View File

@@ -550,7 +550,7 @@ if (!defined('PATH_DATA') || !file_exists(PATH_DATA)) {
$controllerAction = ($controllerAction != '' && $controllerAction != 'login') ? $controllerAction : 'index';
// create the installer controller and call its method
if (is_callable([InstallerModule::class, $controllerAction])) {
if (method_exists(InstallerModule::class, $controllerAction)) {
$installer = new $controller();
$installer->setHttpRequestData($_REQUEST);
//NewRelic Snippet - By JHL
@@ -637,10 +637,10 @@ if (defined('SYS_TEMP') && SYS_TEMP != '') {
$controllerClass = 'Main';
$controllerAction = SYS_TARGET == 'sysLoginVerify' ? SYS_TARGET : 'sysLogin';
//if the method exists
if (is_callable(array(
if (method_exists(
$controllerClass,
$controllerAction
))) {
)) {
$controller = new $controllerClass();
$controller->setHttpRequestData($_REQUEST);
$controller->call($controllerAction);
@@ -898,7 +898,7 @@ if (substr(SYS_COLLECTION, 0, 8) === 'gulliver') {
}
//if the method exists
if (is_callable(array($controllerClass, $controllerAction))) {
if (method_exists($controllerClass, $controllerAction)) {
$isControllerCall = true;
}
}