From 0567a58f238dae2bedc29b40b67264b5e7d8bf9d Mon Sep 17 00:00:00 2001 From: Gustavo Cruz Date: Fri, 6 Mar 2015 09:16:54 -0400 Subject: [PATCH] Adding installer compiler tags for the enterprise version of processmaker --- framework/src/Maveriks/WebApplication.php | 4 ++-- gulliver/system/class.bootstrap.php | 4 ++-- workflow/engine/controllers/installer.php | 20 ++++++++++---------- workflow/public_html/sysGeneric.php | 12 ++++++------ 4 files changed, 20 insertions(+), 20 deletions(-) diff --git a/framework/src/Maveriks/WebApplication.php b/framework/src/Maveriks/WebApplication.php index 7a9359708..0e0bafb31 100644 --- a/framework/src/Maveriks/WebApplication.php +++ b/framework/src/Maveriks/WebApplication.php @@ -337,7 +337,7 @@ class WebApplication $this->rest->addAPIClass($namespace); } } - +/*----------------------------------********---------------------------------*/ // adding features extension api classes $featuresPath = $this->workflowDir .'engine' . DS . 'Features'; // $apiDir - contains directory to scan classes and add them to Restler @@ -357,7 +357,7 @@ class WebApplication } } } - +/*----------------------------------********---------------------------------*/ // adding aliases for Restler if (array_key_exists('alias', $config)) { foreach ($config['alias'] as $alias => $aliasData) { diff --git a/gulliver/system/class.bootstrap.php b/gulliver/system/class.bootstrap.php index d9b3f6498..0988e6232 100644 --- a/gulliver/system/class.bootstrap.php +++ b/gulliver/system/class.bootstrap.php @@ -225,9 +225,9 @@ class Bootstrap self::registerClass("cronFile", PATH_CLASSES . "class.plugin.php"); self::registerClass("pluginDetail", PATH_CLASSES . "class.pluginRegistry.php"); self::registerClass("PMPluginRegistry", PATH_CLASSES . "class.pluginRegistry.php"); - /*****feature-begins******/ +/*----------------------------------********---------------------------------*/ self::registerClass("PMFeatureRegistry", PATH_CLASSES . "class.featureRegistry.php"); - /*****feature-ends******/ +/*----------------------------------********---------------------------------*/ self::registerClass("featuresDetail", PATH_CLASSES . "class.licensedFeatures.php"); self::registerClass("PMLicensedFeatures", PATH_CLASSES . "class.licensedFeatures.php"); self::registerClass("PMDashlet", PATH_CLASSES . "class.pmDashlet.php"); diff --git a/workflow/engine/controllers/installer.php b/workflow/engine/controllers/installer.php index ee879f6ad..5cf266b75 100755 --- a/workflow/engine/controllers/installer.php +++ b/workflow/engine/controllers/installer.php @@ -13,9 +13,9 @@ class Installer extends Controller public $path_config; public $path_languages; public $path_plugins; - /****features-begins****/ +/*----------------------------------********---------------------------------*/ public $path_features; - /****features-ends****/ +/*----------------------------------********---------------------------------*/ public $path_xmlforms; public $path_shared; public $path_sep; @@ -29,9 +29,9 @@ class Installer extends Controller $this->path_config = PATH_CORE . 'config/'; $this->path_languages = PATH_CORE . 'content/languages/'; $this->path_plugins = PATH_CORE . 'plugins/'; - /****features-begins****/ +/*----------------------------------********---------------------------------*/ $this->path_features = PATH_CORE . 'Features/'; - /****features-ends****/ +/*----------------------------------********---------------------------------*/ $this->path_xmlforms = PATH_CORE . 'xmlform/'; $this->path_public = PATH_HOME . 'public_html/index.html'; $this->path_shared = PATH_TRUNK . 'shared/'; @@ -788,9 +788,9 @@ class Installer extends Controller $this->mysqlFileQuery( PATH_HOME . 'engine/data/mysql/schema.sql' ); $this->mysqlFileQuery( PATH_HOME . 'engine/data/mysql/insert.sql' ); - /****features-begins****/ +/*----------------------------------********---------------------------------*/ $this->createMysqlFeatures(); - /****features-ends****/ +/*----------------------------------********---------------------------------*/ if (defined('PARTNER_FLAG') || isset($_REQUEST['PARTNER_FLAG'])) { $this->setPartner(); @@ -1635,9 +1635,9 @@ class Installer extends Controller } } - /****features-begins****/ +/*----------------------------------********---------------------------------*/ /** - * + * create a mysql feature */ public function createMysqlFeatures() { @@ -1648,7 +1648,7 @@ class Installer extends Controller } /** - * + * returns a list of all the features installed in the Features folder * @return \stdClass */ public function getFeatureList() @@ -1668,6 +1668,6 @@ class Installer extends Controller } return $features; } - /****features-ends****/ +/*----------------------------------********---------------------------------*/ } diff --git a/workflow/public_html/sysGeneric.php b/workflow/public_html/sysGeneric.php index 97bf3e013..6e54dcad8 100755 --- a/workflow/public_html/sysGeneric.php +++ b/workflow/public_html/sysGeneric.php @@ -196,9 +196,9 @@ define( 'PATH_METHODS', PATH_CORE . 'methods' . PATH_SEP ); define( 'PATH_XMLFORM', PATH_CORE . 'xmlform' . PATH_SEP ); define( 'PATH_CONFIG', PATH_CORE . 'config' . PATH_SEP ); define( 'PATH_PLUGINS', PATH_CORE . 'plugins' . PATH_SEP ); -/*****features-begins******/ +/*----------------------------------********---------------------------------*/ define( 'PATH_FEATURES', PATH_CORE . 'Features' . PATH_SEP ); -/*****features-ends******/ +/*----------------------------------********---------------------------------*/ define( 'PATH_HTMLMAIL', PATH_CORE . 'html_templates' . PATH_SEP ); define( 'PATH_TPL', PATH_CORE . 'templates' . PATH_SEP ); define( 'PATH_TEST', PATH_CORE . 'test' . PATH_SEP ); @@ -630,9 +630,9 @@ if (file_exists( $sSerializedFile )) { } else{ $oPluginRegistry = PMPluginRegistry::getSingleton(); } -/****features-begins****/ +/*----------------------------------********---------------------------------*/ $featureRegistry =& PMFeatureRegistry::getSingleton(); -/****features-ends****/ +/*----------------------------------********---------------------------------*/ // setup propel definitions and logging //changed to autoloader //require_once ("propel/Propel.php"); @@ -697,9 +697,9 @@ if (SYS_LANG != 'en' && ! is_file( PATH_LANGUAGECONT . 'translation.' . SYS_LANG // Setup plugins $oPluginRegistry->setupPlugins(); //get and setup enabled plugins -/****features-begins****/ +/*----------------------------------********---------------------------------*/ $featureRegistry->setupFeatures(); //get and setup enabled features -/****features-ends****/ +/*----------------------------------********---------------------------------*/ $avoidChangedWorkspaceValidation = false; // Load custom Classes and Model from Plugins.