Archive of UserLand's first discussion group, started October 5, 1998.

Changes to system.startup.startupScript

Author:Dave Winer
Posted:12/16/1998; 8:22:17 PM
Topic:user.webserver discussion
Msg #:1382 (In response to 1381)
Prev/Next:1381 / 1383

Here were the changes to system.startup.startupScript:

1. new pref: user.prefs.openAboutWindow, if not defined, startupScript creates it and sets it true. If it's true, we open the about window first thing when startupScript starts up. So even if you forget to leave it open when you quit you have a way to be sure it's open for messages displayed by processes that run at startup. The next feature required it.

2. new table: user.databases. If it exists, loop over all the sub-tables, for each one that has a boolean, openOnStartup, whose value is true, open the guest database file it specifies in f. If it has a boolean runStartup and its true, run #startup at the top level of the database after opening it.

3. No need to open the databases used by mainResponder, for now, config.root, discuss.root and members.root, they're opened by the #startup script in mainResponder.root.


There are responses to this message:


This page was archived on 6/13/2001; 4:46:41 PM.

© Copyright 1998-2001 UserLand Software, Inc.