Adding installer compiler tags for the enterprise version of processmaker

This commit is contained in:
Gustavo Cruz
2015-03-06 09:16:54 -04:00
parent c808cd2867
commit 0567a58f23
4 changed files with 20 additions and 20 deletions

View File

@@ -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) {

View File

@@ -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");

View File

@@ -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****/
/*----------------------------------********---------------------------------*/
}

View File

@@ -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.