mirror of
https://github.com/pi-hole/web.git
synced 2026-02-22 18:55:22 +00:00
5 lines
160 B
PHP
5 lines
160 B
PHP
<?php
|
|
function checkPass($pass) {
|
|
// Check password
|
|
return $pass == str_replace(array("\r", "\n"), '', file_get_contents("/etc/pihole/password.txt"));
|
|
} |