Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Saturday, October 17, 2026

Diff for perl-modules/Platon/FastCGI/Restart.pm between version 1.5 and 1.6

version 1.5, 2004/10/26 14:22:57 version 1.6, 2005/09/08 23:30:45
Line 11 
Line 11 
 # 09/02/2004 - created  # 09/02/2004 - created
 #  #
   
 # $Platon: perl-modules/Platon/FastCGI/Restart.pm,v 1.4 2004/09/23 18:23:40 rajo Exp $  # $Platon: web-apps/fastcgi-gallery/_modules/Platon/FastCGI/Restart.pm,v 1.1 2005/09/07 13:36:50 rajo Exp $
   
 package Platon::FastCGI::Restart;  package Platon::FastCGI::Restart;
   
Line 52  sub new
Line 52  sub new
                         max_restart_interval    => 60,                          max_restart_interval    => 60,
                         CHECK_USER_MODULES              => 'true',                          CHECK_USER_MODULES              => 'true',
                         CHECK_SYSTEM_MODULES    => 'false',                          CHECK_SYSTEM_MODULES    => 'false',
                           system_modules_regexp   => '^/usr',
                 };                  };
         }          }
     my $class = ref($this) || $this;      my $class = ref($this) || $this;
Line 77  sub add_loaded_modules ($;)
Line 78  sub add_loaded_modules ($;)
         my @keys = sort keys %INC;          my @keys = sort keys %INC;
         #warn scalar(@keys) . " modules loaded";          #warn scalar(@keys) . " modules loaded";
         foreach my $file (@keys) {          foreach my $file (@keys) {
                 if ($INC{$file} =~ m#^/#) {                  if ($INC{$file} =~ m#$self->{system_modules_regexp}#o) {
                         if ($self->{CHECK_SYSTEM_MODULES} eq 'true') {                          if ($self->{CHECK_SYSTEM_MODULES} eq 'true') {
                                 #warn "Adding system module '$file'\t=>'$INC{$file}'\n";                                  #warn "Adding system module '$file'\t=>'$INC{$file}'\n";
                                 push @{$self->{checked_files}}, $INC{$file};                                  push @{$self->{checked_files}}, $INC{$file};

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top