mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
Merge pull request #659 from pi-hole/fix/TravisVersioning
FTL version display
This commit is contained in:
@@ -44,12 +44,12 @@ else
|
||||
|
||||
/********** Get Pi-hole FTL (not a git repository) **********/
|
||||
$FTL_branch = $branches[2];
|
||||
if($FTL_branch !== "master") {
|
||||
if(substr($versions[2], 0, 4) === "vDev") {
|
||||
$FTL_current = "vDev";
|
||||
$FTL_commit = $versions[2];
|
||||
}
|
||||
else {
|
||||
$FTL_current = explode("-",$versions[2])[0];
|
||||
$FTL_current = $versions[2];
|
||||
}
|
||||
|
||||
// Get data from GitHub
|
||||
|
||||
Reference in New Issue
Block a user