Skip to content

Commit

Permalink
Move all "version check" code to update_checker.php
Browse files Browse the repository at this point in the history
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
  • Loading branch information
rdwebdesign committed Aug 22, 2022
1 parent ace3ea8 commit 123b037
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions scripts/pi-hole/php/footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,22 +48,6 @@
// - determines local branch each time,
// - determines local and remote version every 30 minutes
require 'scripts/pi-hole/php/update_checker.php';

$coreVersionStr = $core_current.(isset($core_commit) ? ' ('.$core_branch.', '.$core_commit.')' : '');
$ftlVersionStr = $FTL_current.(isset($FTL_commit) ? ' ('.$FTL_branch.', '.$FTL_commit.')' : '');
$webVersionStr = $web_current.(isset($web_commit) ? ' ('.$web_branch.', '.$web_commit.')' : '');
$dockerTag = htmlspecialchars(getenv('PIHOLE_DOCKER_TAG'));

$githubBaseUrl = 'https://github.com/pi-hole';
$coreUrl = $githubBaseUrl.'/pi-hole';
$dockerUrl = $githubBaseUrl.'/docker-pi-hole';
$ftlUrl = $githubBaseUrl.'/FTL';
$webUrl = $githubBaseUrl.'/AdminLTE';

$coreReleasesUrl = $coreUrl.'/releases';
$dockerReleasesUrl = $dockerUrl.'/releases';
$ftlReleasesUrl = $ftlUrl.'/releases';
$webReleasesUrl = $webUrl.'/releases';
?>
<footer class="main-footer">
<div class="row row-centered text-center">
Expand Down

0 comments on commit 123b037

Please sign in to comment.