This commit is contained in:
Arionum
2018-01-09 18:50:30 +02:00
parent 2b63e298d0
commit 1311737a2a

View File

@@ -137,7 +137,7 @@ if($total_peers==0){
echo "No peers found. Attempting to get peers from arionum.com\n"; echo "No peers found. Attempting to get peers from arionum.com\n";
$f=file("https://www.arionum.com/peers.txt"); $f=file("https://www.arionum.com/peers.txt");
shuffle($f); shuffle($f);
if(count($f)<2){ @unlink("tmp/sanity-lock") die("Could nto connect to arionum.com! Will try later!\n"); } if(count($f)<2){ @unlink("tmp/sanity-lock"); die("Could nto connect to arionum.com! Will try later!\n"); }
foreach($f as $peer){ foreach($f as $peer){
$peer=trim($peer); $peer=trim($peer);
$peer = filter_var($peer, FILTER_SANITIZE_URL); $peer = filter_var($peer, FILTER_SANITIZE_URL);