diff options
author | Matthijs Kuiper <info@matthijskuiper.nl> | 2018-01-12 01:36:05 +0100 |
---|---|---|
committer | Matthijs Kuiper <info@matthijskuiper.nl> | 2018-01-12 01:41:09 +0100 |
commit | aa0bf59136997d801c4b1170055960808007e993 (patch) | |
tree | faf20adafd0de2eb869a3674e0f1b1d75254bc6c | |
parent | f35002779bdbb74dedd57c0691c6039adc146d93 (diff) |
Update unknown map image
-rw-r--r-- | html/assets/images/maps/blank_large.jpg | bin | 97957 -> 0 bytes | |||
-rw-r--r-- | html/assets/images/maps/blank_large.png | bin | 0 -> 61729 bytes | |||
-rwxr-xr-x | html/includes/functions.php | 2 | ||||
-rwxr-xr-x | html/pages/home.php | 2 |
4 files changed, 2 insertions, 2 deletions
diff --git a/html/assets/images/maps/blank_large.jpg b/html/assets/images/maps/blank_large.jpg Binary files differdeleted file mode 100644 index de22beb..0000000 --- a/html/assets/images/maps/blank_large.jpg +++ /dev/null diff --git a/html/assets/images/maps/blank_large.png b/html/assets/images/maps/blank_large.png Binary files differnew file mode 100644 index 0000000..d5da8d8 --- /dev/null +++ b/html/assets/images/maps/blank_large.png diff --git a/html/includes/functions.php b/html/includes/functions.php index 99baeae..aaf2635 100755 --- a/html/includes/functions.php +++ b/html/includes/functions.php @@ -605,7 +605,7 @@ function getMapImageName($mapname) { }
}
- return "assets/images/maps/blank_large.jpg";
+ return "assets/images/maps/blank_large.png";
}
?>
diff --git a/html/pages/home.php b/html/pages/home.php index d3e0fa0..fc419af 100755 --- a/html/pages/home.php +++ b/html/pages/home.php @@ -16,7 +16,7 @@ $moreThan2Teams = ($lastMapScore2!=0); $mappic = getMapImageName($lastMapFileName);
// quick hack to show empty one at front page if no map
-if (!file_exists($mappic) || $mappic == "assets/images/maps/blank_large.jpg") {
+if (!file_exists($mappic) || $mappic == "assets/images/maps/blank_large.png") {
$mappic = "assets/images/maps/emptyfront.jpg";
}
|