diff options
author | cvs2git <cvs2git> | 2008-03-16 19:58:34 +0000 |
---|---|---|
committer | cvs2git <cvs2git> | 2008-03-16 19:58:34 +0000 |
commit | eb061f5119325e666f0dff40d4089e5c1df58e17 (patch) | |
tree | d55e8fef5aca62eb13bbc8ad20dbdf941c3bd266 /httemplate/misc/dump.cgi | |
parent | 3a17b276638200475d54201fa62566b7440e819a (diff) |
This commit was manufactured by cvs2svn to create tag 'TRIXBOX_2_6'.TRIXBOX_2_6
Diffstat (limited to 'httemplate/misc/dump.cgi')
-rw-r--r-- | httemplate/misc/dump.cgi | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/httemplate/misc/dump.cgi b/httemplate/misc/dump.cgi deleted file mode 100644 index 3b60b20ef..000000000 --- a/httemplate/misc/dump.cgi +++ /dev/null @@ -1,20 +0,0 @@ -% die "access denied" -% unless $FS::CurrentUser::CurrentUser->access_right('Export'); -% -% if ( driver_name =~ /^Pg$/ ) { -% my $dbname = (split(':', datasrc))[2]; -% if ( $dbname =~ /[;=]/ ) { -% my %elements = map { /^(\w+)=(.*)$/; $1=>$2 } split(';', $dbname); -% $dbname = $elements{'dbname'}; -% } -% open(DUMP,"pg_dump $dbname |"); -% } else { -% errorpage("don't (yet) know how to dump ". driver_name. " databases"); -% } -% -% http_header('Content-Type' => 'text/plain' ); -% -% while (<DUMP>) { -% print $_; -% } -% close DUMP; |