From: Kristoffer L. <se...@fi...> - 2007-01-06 18:24:53
|
I am finding some rather weird behaviour in the use of the tclhttpd Config variable. config.tcl loads the whole config file into a variable in its own namespace. In the main file cmdline::getoptions reads a certain set of vars into a global Config variable, but not all. Now, the problem is that at least the auth.tcl file checks for options by directly looking at the global Config variable. Things such as the following: if {![info exists Config(AuthUserFile)]} { set Config(AuthUserFile) default } In this situation Config(AuthUserFile) will never be set. Is this a clear bug or am I missing something? / http://www.fishpool.com/~setok/ |