mirror of
https://github.com/webmin/webmin.git
synced 2025-07-21 23:40:34 +00:00
Schema download page
This commit is contained in:
@ -8,6 +8,12 @@ $access{'pass'} || &error($text{'sql_ecannot'});
|
||||
&error_setup($text{'sql_err'});
|
||||
$p = $in{'proto'};
|
||||
|
||||
if ($in{'schema'}) {
|
||||
# Redirect to schema download page
|
||||
&redirect("schema.cgi");
|
||||
return;
|
||||
}
|
||||
|
||||
# Parse inputs
|
||||
if ($p eq 'mysql' || $p eq 'postgresql' || $p eq 'ldap') {
|
||||
gethostbyname($in{$p."_host"}) ||
|
||||
|
Reference in New Issue
Block a user