+2004-09-06 Helge Hess <helge.hess@skyrix.com>
+
+ * Defaults.plist: enable watch dog per default (use WOUseWatchDog
+ default to disable the watch dog) (v4.3.27)
+
2004-09-06 Helge Hess <helge.hess@opengroupware.org>
* WOResourceManager.m: minor code cleanups (v4.3.26)
ud = [NSUserDefaults standardUserDefaults];
- if (![ud boolForKey:@"WOUseWatchDog"])
- return WOApplicationMain(appName, argc, argv);
+ /* default is to use the watch dog! */
+ /* Note: the Defaults.plist is not yet loaded at this stage! */
+ if ([ud objectForKey:@"WOUseWatchDog"] != nil) {
+ if (![ud boolForKey:@"WOUseWatchDog"])
+ return WOApplicationMain(appName, argc, argv);
+ }
/* watch dog */
{