]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
geoip-functions.pl: Fix typos and formatting
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 9 Nov 2017 22:32:03 +0000 (22:32 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 13 Nov 2017 22:37:03 +0000 (22:37 +0000)
Reviewed-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/cfgroot/geoip-functions.pl

index fc2dfdd3424b4f63a814ed0323899a6c67b2e06e..623169eaf8d5f473b0831a33ed639fe64a2ea082 100644 (file)
@@ -63,10 +63,10 @@ sub get_flag_icon($) {
                # the icon for "unknown".
                my $ccode = "unknown";
 
                # 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") {
 
                # Check if the icon is present.
                if (-e "$absolute_path") {