Code

use do() instead of require() to include configuration
authorDennis Stosberg <dennis@stosberg.net>
Tue, 29 Aug 2006 07:19:02 +0000 (09:19 +0200)
committerJunio C Hamano <junkio@cox.net>
Thu, 31 Aug 2006 19:57:08 +0000 (12:57 -0700)
commit4b5dc988c0db1e7ce5ba41c09a1e75cbc71c3f35
tree9e44348885496d27cadc0daa8eab74c88ab242ee
parent3a36bc846949df8a7fb0ad9b2fc8ffe294cdca7c
use do() instead of require() to include configuration

When run under mod_perl, require() will read and execute the configuration
file on the first invocation only.  On every subsequent invocation, all
configuration variables will be reset to their default values.  do() reads
and executes the configuration file unconditionally.

Signed-off-by: Dennis Stosberg <dennis@stosberg.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl