/[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 158 by dpavlin, Thu Aug 6 15:36:13 2009 UTC revision 159 by dpavlin, Thu Aug 6 15:40:42 2009 UTC
# Line 49  use html; Line 49  use html;
49  our $static_pids;  our $static_pids;
50  use progress_bar;  use progress_bar;
51  use config;  use config;
52    use client;
53    use log;
54    
55  sub static {  sub static {
56          my ($client,$path) = @_;          my ($client,$path) = @_;
# Line 227  sub get_request { Line 229  sub get_request {
229                          ;                          ;
230          } elsif ( $path =~ m{^/client} ) {          } elsif ( $path =~ m{^/client} ) {
231                  my $ip = $client->peerhost;                  my $ip = $client->peerhost;
232                  my $hostname = server::shared( "hostname/$ip", $param->{hostname} );                  my $hostname = client::conf( $ip, 'hostname' => $param->{hostname} );
233                  my $deploy   = server::shared( "deploy/$ip",   $param->{deploy}   );                  my $deploy   = client::conf( $ip, 'deploy'   => $param->{deploy}   );
234                  print $client $ok                  print $client $ok
235                          , menu()                          , menu()
236                          , qq|<form method=get>|                          , qq|<form method=get>|

Legend:
Removed from v.158  
changed lines
  Added in v.159

  ViewVC Help
Powered by ViewVC 1.1.26