Quote:
Originally Posted by kartu
Well, addons are loaded as one chunk. So if there was max size problem, none would be visible.
|
to add an addicional addons1 folder to use more applications and avoid the problem that Surquize said, is it necesary only to add a new addonsfile1 and addonspath1 to the prsp.js apart from the folder addons1?
Code:
// Description: PRS+ bootstrap script
// Author: kartu
//
// History:
// 2010-06-26 kartu - Initial version, based on 505
if (!FileSystem.getFileInfo(System.applyEnvironment("[prspSafeModeFile]"))) {
var bootLog;
var path, code, f, endsWith, listFiles, getFileContent, getFileContentEx, userConfig, Core, loadCore, loadAddons;
var tmp = function() {
var config = {
model: System.applyEnvironment("[prspModel]"),
defaultLogLevel: "none",
logFile: System.applyEnvironment("[prspLogFile]"),
corePath: System.applyEnvironment("[prspCorePath]"),
addonsPath: System.applyEnvironment("[prspAddonsPath]"),
addonsPath1: System.applyEnvironment("[prspAddonsPath1]"),
settingsPath: System.applyEnvironment("[prspSettingsPath]"),
publicPath: System.applyEnvironment("[prspPublicPath]"),
userCSSPath: System.applyEnvironment("[prspUserCSSPath]"),
userDictionaryPath: System.applyEnvironment("[userDictionaryPath]"),
coreFile: System.applyEnvironment("[prspCoreFile]"),
addonsFile: System.applyEnvironment("[prspAddonsFile]"),
addonsFile1: System.applyEnvironment("[prspAddonsFile1]")
};
thanks