]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/blobdiff - html/cgi-bin/backup.cgi
Debuginformationen aus den CGIs entfernt
[people/stevee/ipfire-2.x.git] / html / cgi-bin / backup.cgi
index 194a70e7ed0e01d4b8bb9a95a80981186dd5532e..877e6345887da05d2f7596c7373628f75fddad37 100644 (file)
@@ -8,8 +8,8 @@
 
 use strict;
 # enable only the following on debugging purpose
-use warnings;
-use CGI::Carp 'fatalsToBrowser';
+#use warnings;
+#use CGI::Carp 'fatalsToBrowser';
 use File::Copy;
 
 require '/var/ipfire/general-functions.pl';
@@ -58,7 +58,7 @@ elsif ( $cgiparams{'ACTION'} eq "restore" )
   print UPLOADFILE;
   }
   close UPLOADFILE;
-  system("/usr/local/bin/backupctrl restore >/dev/null");
+  system("/usr/local/bin/backupctrl restore");
 }
 
 &Header::showhttpheaders();