mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-15 00:01:28 +00:00
Update eqemu_server.pl [skip ci]
This commit is contained in:
parent
a6638104ac
commit
f6ea89f100
@ -1108,9 +1108,17 @@ sub get_mysql_result {
|
||||
|
||||
sub get_mysql_result_from_file {
|
||||
my $update_file = $_[0];
|
||||
if (!$db) {return;}
|
||||
if ($OS eq "Windows") {return `"$path" --host $host --user $user --password="$pass" --force $db < $update_file`;}
|
||||
if ($OS eq "Linux") {return `"$path" --host $host --user $user --password="$pass" --force $db < $update_file`;}
|
||||
if (!$db) {
|
||||
return;
|
||||
}
|
||||
|
||||
if ($OS eq "Windows") {
|
||||
return `"$path" --host $host --user $user --password="$pass" --force $db < $update_file`;
|
||||
}
|
||||
|
||||
if ($OS eq "Linux") {
|
||||
return `"$path" --host $host --user $user --password="$pass" --force $db < $update_file`;
|
||||
}
|
||||
}
|
||||
|
||||
#::: Gets Remote File based on request_url (1st Arg), and saves to destination file (2nd Arg)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user