summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ddns.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/ddns.php b/ddns.php
index 1f652d4..9a765e9 100644
--- a/ddns.php
+++ b/ddns.php
@@ -239,5 +239,5 @@
print "updated ips for domain \"" . $domain . ".ddns.eckner.net\": " . implode(", ", $ips) . "\n";
- $handle = fopen('https://colocation.eckner.net/update.php?key=' . trim(file('/srv/http/vhosts/eckner.net/ddns/colocation-token')) . '&running=1&machine=' . $domain, 'r');
+ $handle = fopen('https://colocation.eckner.net/update.php?key=' . trim(file_get_contents('/srv/http/vhosts/eckner.net/ddns/colocation-token')) . '&running=1&machine=' . $domain, 'r');
fclose($handle);