mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +00:00
Merge pull request #4749 from pi-hole/webroot
Do not hardcode webroot dir for teleporter
This commit is contained in:
commit
fe51a4f8d0
1 changed files with 2 additions and 1 deletions
|
@ -650,7 +650,8 @@ Teleporter() {
|
|||
host="${host//./_}"
|
||||
filename="pi-hole-${host:-noname}-teleporter_${datetimestamp}.tar.gz"
|
||||
fi
|
||||
php /var/www/html/admin/scripts/pi-hole/php/teleporter.php > "${filename}"
|
||||
# webroot is sourced from basic-install above
|
||||
php "${webroot}/admin/scripts/pi-hole/php/teleporter.php" > "${filename}"
|
||||
}
|
||||
|
||||
checkDomain()
|
||||
|
|
Loading…
Reference in a new issue