mirror of
https://github.com/pi-hole/web.git
synced 2026-04-24 18:59:48 +01:00
footer.php: Improve Pi-Hole update instruction for Docker image
Running `pihole -up` in the Docker image release is not allowed, and will receive this prompt msg: `Function not supported in Docker images`, should display a different prompt message for Docker image release. Signed-off-by: Peter Dave Hello <hsu@peterdavehello.org>
This commit is contained in:
@@ -103,9 +103,13 @@
|
||||
</li>
|
||||
</ul>
|
||||
<?php if($core_update || $web_update || $FTL_update) { ?>
|
||||
<?php if($dockerTag) { ?>
|
||||
<p>To install updates, <a href="https://github.com/pi-hole/docker-pi-hole#upgrading--reconfiguring" rel="noopener" target="_blank">replace this old container with a fresh upgraded image</a>.</p>
|
||||
<?php } else { ?>
|
||||
<p>To install updates, run <code><a href="https://docs.pi-hole.net/main/update/" rel="noopener" target="_blank">pihole -up</a></code>.</p>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
Reference in New Issue
Block a user