Skip to content

Commit 2be07f8

Browse files
committedMay 17, 2019
feat: add version to title
The webapp now displays the current version next to it's name. E.g. "Live Map v2.2.7"
1 parent 6e71478 commit 2be07f8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎index.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@
193193
</button>
194194
<a class="navbar-brand" href="https://github.com/TGRHavoc/">
195195
<img src="https://avatars1.githubusercontent.com/u/1770893?s=460&v=4" style="max-height: 30px" >
196-
Live Map
196+
Live Map v<?php echo Update::$version ?>
197197
</a>
198198

199199
<div class="collapse navbar-collapse" id="navbarNav">

‎utils/update_checker.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
class Update{
44

5-
private static $version = "2.1.3";
5+
public static $version = "2.1.3";
66
private static $url = "https://raw.githubusercontent.com/TGRHavoc/live_map-interface/master/version.json";
77
private static $downloadUrl = "http://github.com/TGRHavoc/live_map-interface";
88
private static $latestVer = "";

0 commit comments

Comments
 (0)