geoip-functions.pl: Fix typos and formatting

Reviewed-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2017-11-09 22:32:03 +00:00
parent 5a4fb99e8a
commit b1ad5b8b6c

View File

@@ -63,10 +63,10 @@ sub get_flag_icon($) {
# the icon for "unknown".
my $ccode = "unknown";
# Redoing all the stuff from abouve for the "unknown" icon.
my $file = join('.', $ccode,$ext);
my $flag_icon = join('/', $flagdir,$file);
my $absolute_path = join('', $webroot,$flag_icon);
# Redoing all the stuff from above for the "unknown" icon.
my $file = join('.', $ccode, $ext);
my $flag_icon = join('/', $flagdir, $file);
my $absolute_path = join('', $webroot, $flag_icon);
# Check if the icon is present.
if (-e "$absolute_path") {