Merge pull request #1402 from brayanpereyra/DOC-SYSTEM

DOC SYSTEM I set variable TRANSLATION for plugins SOLVED
This commit is contained in:
julceslauhub
2013-03-15 06:59:36 -07:00
3 changed files with 78 additions and 29 deletions

View File

@@ -582,6 +582,8 @@ $oPluginRegistry = & PMPluginRegistry::getSingleton();
if (file_exists( $sSerializedFile )) {
$oPluginRegistry->unSerializeInstance( file_get_contents( $sSerializedFile ) );
$attributes = $oPluginRegistry->getAttributes();
Bootstrap::LoadTranslationPlugins( defined( 'SYS_LANG' ) ? SYS_LANG : "en" , $attributes);
}
// setup propel definitions and logging