diff options
-rw-r--r-- | ddns.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |