HOR-3620
Fix PMSystem -> PmSystem since Processmaker is one word.
This commit is contained in:
@@ -77,7 +77,7 @@ try {
|
||||
$classLoader->addModelClassPath(PATH_TRUNK . 'workflow' . PATH_SEP . 'engine' . PATH_SEP . 'classes' . PATH_SEP . 'model' . PATH_SEP);
|
||||
//Load classes
|
||||
|
||||
$arraySystemConfiguration = PMSystem::getSystemConfiguration();
|
||||
$arraySystemConfiguration = PmSystem::getSystemConfiguration();
|
||||
|
||||
$e_all = (defined('E_DEPRECATED'))? E_ALL & ~E_DEPRECATED : E_ALL;
|
||||
$e_all = (defined('E_STRICT'))? $e_all & ~E_STRICT : $e_all;
|
||||
|
||||
@@ -64,7 +64,7 @@ try {
|
||||
|
||||
$classLoader->addModelClassPath(PATH_TRUNK . 'workflow' . PATH_SEP . 'engine' . PATH_SEP . 'classes' . PATH_SEP . 'model' . PATH_SEP);
|
||||
|
||||
$arraySystemConfiguration = PMSystem::getSystemConfiguration('', '', $workspace);
|
||||
$arraySystemConfiguration = PmSystem::getSystemConfiguration('', '', $workspace);
|
||||
|
||||
$e_all = (defined('E_DEPRECATED'))? E_ALL & ~E_DEPRECATED : E_ALL;
|
||||
$e_all = (defined('E_STRICT'))? $e_all & ~E_STRICT : $e_all;
|
||||
|
||||
@@ -144,7 +144,7 @@ if (! defined ('SYS_SYS')) {
|
||||
// ****************************************
|
||||
// read initialize file
|
||||
require_once PATH_HOME . 'engine' . PATH_SEP . 'classes' . PATH_SEP . 'class.system.php';
|
||||
$config = PMSystem::getSystemConfiguration ('', '', SYS_SYS);
|
||||
$config = PmSystem::getSystemConfiguration ('', '', SYS_SYS);
|
||||
define ('MEMCACHED_ENABLED', $config ['memcached']);
|
||||
define ('MEMCACHED_SERVER', $config ['memcached_server']);
|
||||
define ('TIME_ZONE', $config ['time_zone']);
|
||||
@@ -260,7 +260,7 @@ function processWorkspace()
|
||||
|
||||
try {
|
||||
|
||||
if (($solrConf = PMSystem::solrEnv (SYS_SYS)) !== false) {
|
||||
if (($solrConf = PmSystem::solrEnv (SYS_SYS)) !== false) {
|
||||
print "Solr Configuration file: " . PATH_DATA_SITE . "env.ini\n";
|
||||
print "solr_enabled: " . $solrConf ['solr_enabled'] . "\n";
|
||||
print "solr_host: " . $solrConf ['solr_host'] . "\n";
|
||||
|
||||
@@ -47,7 +47,7 @@ function get_workspaces_from_args($args, $includeAll = true) {
|
||||
$workspaces[] = new workspaceTools($arg);
|
||||
}
|
||||
if (empty($workspaces) && $includeAll) {
|
||||
$workspaces = PMSystem::listWorkspaces();
|
||||
$workspaces = PmSystem::listWorkspaces();
|
||||
}
|
||||
return $workspaces;
|
||||
}
|
||||
|
||||
@@ -87,7 +87,7 @@ function run_upgrade($command, $args)
|
||||
}
|
||||
$flag = G::isPMUnderUpdating(1, $oneWorkspace);
|
||||
//start to upgrade
|
||||
$checksum = PMSystem::verifyChecksum();
|
||||
$checksum = PmSystem::verifyChecksum();
|
||||
if ($checksum === false) {
|
||||
CLI::logging(CLI::error("checksum.txt not found, integrity check is not possible") . "\n");
|
||||
if (!CLI::question("Integrity check failed, do you want to continue the upgrade?")) {
|
||||
@@ -177,7 +177,7 @@ function run_upgrade($command, $args)
|
||||
}
|
||||
}
|
||||
} else {
|
||||
CLI::logging('ProcessMaker ' . PMSystem::getVersion(). ' installed', PATH_DATA . 'log/upgrades.log');
|
||||
CLI::logging('ProcessMaker ' . PmSystem::getVersion(). ' installed', PATH_DATA . 'log/upgrades.log');
|
||||
}
|
||||
|
||||
//Safe upgrade for JavaScript files
|
||||
|
||||
@@ -119,7 +119,7 @@ if (! defined ('SYS_SYS')) {
|
||||
// ****************************************
|
||||
// read initialize file
|
||||
require_once PATH_HOME . 'engine' . PATH_SEP . 'classes' . PATH_SEP . 'class.system.php';
|
||||
$config = PMSystem::getSystemConfiguration ('', '', SYS_SYS);
|
||||
$config = PmSystem::getSystemConfiguration ('', '', SYS_SYS);
|
||||
define ('MEMCACHED_ENABLED', $config ['memcached']);
|
||||
define ('MEMCACHED_SERVER', $config ['memcached_server']);
|
||||
define ('TIME_ZONE', $config ['time_zone']);
|
||||
@@ -337,7 +337,7 @@ function displayMissingCases($aAppUidsDB, $aAppUidsSolr)
|
||||
|
||||
function getListUids($usrUid, $action)
|
||||
{
|
||||
if (($solrConf = PMSystem::solrEnv (SYS_SYS)) !== false) {
|
||||
if (($solrConf = PmSystem::solrEnv (SYS_SYS)) !== false) {
|
||||
|
||||
print "Solr Configuration file: " . PATH_DATA_SITE . "env.ini\n";
|
||||
print "solr_enabled: " . $solrConf ['solr_enabled'] . "\n";
|
||||
|
||||
Reference in New Issue
Block a user