Adding registry files for the trigger registration in the core
This commit is contained in:
@@ -196,6 +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 );
|
||||
@@ -627,7 +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");
|
||||
@@ -692,6 +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.
|
||||
|
||||
Reference in New Issue
Block a user