cholet      00/05/16 06:53:01

  Modified:    .        Changes
               src/modules/perl mod_perl.c
  Log:
  add $Apache::Server::ConfigTestOnly
  
  Revision  Changes    Path
  1.483     +4 -0      modperl/Changes
  
  Index: Changes
  ===================================================================
  RCS file: /home/cvs/modperl/Changes,v
  retrieving revision 1.482
  retrieving revision 1.483
  diff -u -r1.482 -r1.483
  --- Changes   2000/05/13 01:10:52     1.482
  +++ Changes   2000/05/16 13:53:00     1.483
  @@ -10,6 +10,10 @@
   
   =item 1.23_01-dev
   
  +variable $Apache::Server::ConfigTestOnly is set to 1 if Apache
  +is running in configuration test mode (httpd -t)
  +[Eric Cholet <[EMAIL PROTECTED]>]
  +
   add PerlAddVar directive, like PerlSetVar, but uses ap_table_add
   instead of ap_table_set
   
  
  
  
  1.118     +2 -0      modperl/src/modules/perl/mod_perl.c
  
  Index: mod_perl.c
  ===================================================================
  RCS file: /home/cvs/modperl/src/modules/perl/mod_perl.c,v
  retrieving revision 1.117
  retrieving revision 1.118
  diff -u -r1.117 -r1.118
  --- mod_perl.c        2000/05/13 01:10:53     1.117
  +++ mod_perl.c        2000/05/16 13:53:01     1.118
  @@ -735,6 +735,8 @@
       perl_tainting_set(s, cls->PerlTaintCheck);
       (void)GvSV_init("Apache::__SendHeader");
       (void)GvSV_init("Apache::__CurrentCallback");
  +    if (ap_configtestonly)
  +     GvSV_setiv(GvSV_init("Apache::Server::ConfigTestOnly"), TRUE);
   
       Apache__ServerReStarting(FALSE); /* just for -w */
       Apache__ServerStarting_on();
  
  
  

Reply via email to