aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/tinydns/tinydns.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/tinydns/tinydns.inc b/packages/tinydns/tinydns.inc
index a6dec04f..b283b963 100644
--- a/packages/tinydns/tinydns.inc
+++ b/packages/tinydns/tinydns.inc
@@ -123,7 +123,7 @@ function tinydns_custom_php_changeip_command() {
function tinydns_get_record_status($record) {
global $g, $config;
if(file_exists("/var/db/pingstatus/{$record}")) {
- $status = file_return_contents("/var/db/pingstatus/{$record}");
+ $status = file_get_contents("/var/db/pingstatus/{$record}");
if($status == "DOWN")
return false;
}