aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-12-08 17:30:40 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-12-08 17:30:40 +0000
commit1359b7f61f6471380c9b6c4a5f67bf32ff1acbe1 (patch)
tree2d03ab9929f9ceb5451cf0e40206642814a3fcb3
parent3773aa9ad00a540f327ed697bae7dd826b264352 (diff)
downloadpfsense-packages-1359b7f61f6471380c9b6c4a5f67bf32ff1acbe1.tar.gz
pfsense-packages-1359b7f61f6471380c9b6c4a5f67bf32ff1acbe1.tar.bz2
pfsense-packages-1359b7f61f6471380c9b6c4a5f67bf32ff1acbe1.zip
file_return_contents -> file_get_contents
-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;
}