our $static_pids;
use progress_bar;
use config;
+use client;
+use log;
sub static {
my ($client,$path) = @_;
;
} elsif ( $path =~ m{^/client} ) {
my $ip = $client->peerhost;
- my $hostname = server::shared( "hostname/$ip", $param->{hostname} );
- my $deploy = server::shared( "deploy/$ip", $param->{deploy} );
+ my $hostname = client::conf( $ip, 'hostname' => $param->{hostname} );
+ my $deploy = client::conf( $ip, 'deploy' => $param->{deploy} );
print $client $ok
, menu()
, qq|<form method=get>|