stas 2003/10/22 17:34:07
Modified: src/modules/perl modperl_config.c Log: set the trace on as before init globals in to be able to trace init global Revision Changes Path 1.68 +6 -6 modperl-2.0/src/modules/perl/modperl_config.c Index: modperl_config.c =================================================================== RCS file: /home/cvs/modperl-2.0/src/modules/perl/modperl_config.c,v retrieving revision 1.67 retrieving revision 1.68 diff -u -u -r1.67 -r1.68 --- modperl_config.c 23 Sep 2003 00:45:45 -0000 1.67 +++ modperl_config.c 23 Oct 2003 00:34:07 -0000 1.68 @@ -170,18 +170,18 @@ if (!s->is_virtual) { + /* give a chance to MOD_PERL_TRACE env var to set + * PerlTrace. This place is the earliest point in mod_perl + * configuration parsing, when we have the server object + */ + modperl_trace_level_set(s, NULL); + /* Must store the global server record as early as possible, * because if mod_perl happens to be started from within a * vhost (e.g., PerlLoadModule) the base server record won't * be available to vhost and things will blow up */ modperl_init_globals(s, p); - - /* give a chance to MOD_PERL_TRACE env var to set - * PerlTrace. This place is the earliest point in mod_perl - * configuration parsing, when we have the server object - */ - modperl_trace_level_set(s, NULL); } #ifdef USE_ITHREADS