0729a50672
BackupPC is a high-performance, enterprise-grade system for backing up Unix, WinXX, and MacOS PCs and laptops to a server's disk. BackupPC is highly configurable and easy to install and maintain. It is written in Perl and extracts backup data via rsync, or tar over ssh/rsh/nfs. With tweaks from and ok aja@
13 lines
358 B
Plaintext
13 lines
358 B
Plaintext
$OpenBSD: patch-lib_BackupPC_CGI_Lib_pm,v 1.1.1.1 2011/09/20 11:36:55 landry Exp $
|
|
--- lib/BackupPC/CGI/Lib.pm.orig Mon Apr 25 05:31:55 2011
|
|
+++ lib/BackupPC/CGI/Lib.pm Sat Sep 17 17:21:37 2011
|
|
@@ -90,7 +90,7 @@ use vars qw($Lang);
|
|
|
|
sub NewRequest
|
|
{
|
|
- $Cgi = new CGI;
|
|
+ $Cgi = shift || new CGI;
|
|
%In = $Cgi->Vars;
|
|
|
|
if ( !defined($bpc) ) {
|