/[pxelator]/lib/PXElator/httpd.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /lib/PXElator/httpd.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 391 by dpavlin, Mon Sep 7 21:53:45 2009 UTC revision 392 by dpavlin, Mon Sep 7 21:57:35 2009 UTC
# Line 394  warn "XXX pids = ", dump( $daemons::pids Line 394  warn "XXX pids = ", dump( $daemons::pids
394          } elsif ( $path =~ m{^/start_stop/(\S+)} ) {          } elsif ( $path =~ m{^/start_stop/(\S+)} ) {
395                  print $client redirect, daemons::start_stop($1,$param);                  print $client redirect, daemons::start_stop($1,$param);
396          } elsif ( $path =~ m{^/action/([^/]+)/(.+)} ) {          } elsif ( $path =~ m{^/action/([^/]+)/(.+)} ) {
397                  $1->$2();                  my ( $package, $method ) = ( $1, $2 );
398                    $ENV{nr} = $1 if $package =~ s{\.(\d+)$}{};
399                    $package->$method();
400                  print $client redirect;                  print $client redirect;
401          } elsif ( $path =~ m{^/kill/static/(\d+)} ) {          } elsif ( $path =~ m{^/kill/static/(\d+)} ) {
402                  print $client redirect;                  print $client redirect;

Legend:
Removed from v.391  
changed lines
  Added in v.392

  ViewVC Help
Powered by ViewVC 1.1.26