* Thu Oct 30 2025 Jean-Philippe Pialasse <jpp@koozali.org> 0.2-22.sme
- remove sv files, rewrite systemd unit [SME: 11517] - remove /var/log/httpd-bkpc/ [SME: 12197] - remove logfiles2timestamp [SME: 12196]
This commit is contained in:
@@ -39,11 +39,10 @@ sub main {
|
||||
|
||||
my $c = shift;
|
||||
$c->app->log->info($c->log_req);
|
||||
|
||||
$cdb = esmith::ConfigDB::UTF8->open || die "Couldn't open config db";
|
||||
$adb = esmith::AccountsDB::UTF8->open || die "Couldn't open accounts db";
|
||||
|
||||
my $url = "https://".$c->session->{'SystemName'}.".".$c->session->{"DomainName"}."/BackupPC";
|
||||
$cdb = esmith::ConfigDB::UTF8->open || die "Couldn't open config db";
|
||||
$adb = esmith::AccountsDB::UTF8->open || die "Couldn't open accounts db";
|
||||
my $host = $c->req->url->to_abs->host;
|
||||
my $url = "https://$host/BackupPC";
|
||||
$c->stash(url => $url );
|
||||
$c->render(template => 'backuppc');
|
||||
|
||||
@@ -72,4 +71,4 @@ sub get_backuppc {
|
||||
return $out;
|
||||
}
|
||||
|
||||
1;
|
||||
1;
|
||||
|
||||
Reference in New Issue
Block a user