protected static String producerStorageRoot = MirConfig.getProp("Producer.StorageRoot");
protected static String producerProductionHost = MirConfig.getProp("Producer.ProductionHost");
protected static String producerOpenAction = MirConfig.getProp("Producer.OpenAction");;
- protected static String actionRoot = null;
+
+ /** @todo same as in HTMLTemplateProcessor, this should be dynamically set */
+ protected static String actionRoot = MirConfig.getProp("RootUri") + "/servlet/Mir";
protected static Logfile theLog = Logfile.getInstance(MirConfig.getProp("Home") + "/" + MirConfig.getProp("Producer.Logfile"));
protected static ModuleTopics topicsModule;
static {
// init
try {
+
contentModule = new ModuleContent(DatabaseContent.getInstance());
topicsModule = new ModuleTopics(DatabaseTopics.getInstance());
linksImcsModule = new ModuleLinksImcs(DatabaseLinksImcs.getInstance());
featureModule = new ModuleFeature(DatabaseFeature.getInstance());
imageModule = new ModuleImages(DatabaseImages.getInstance());
uploadedMediaModule = new ModuleUploadedMedia(DatabaseImages.getInstance());
- /** @todo same as in HTMLTemplateProcessor, this should be dynamically set */
- actionRoot = producerDocRoot + "/servlet/Mir";
+
}
catch(StorageObjectException e)
{