Commit dd98a582 authored by David Morley's avatar David Morley

safe words

parent 1cbf1b34
<?php
$json = json_decode(file_get_contents('https://the-federation.info/pods.json'));
foreach($json->pods as $poddata) {
echo exec("php-cgi db/add.php domain={$poddata->host}") . "\r\n";
if ($json) {
foreach ($json->pods ?? [] as $poddata) {
echo exec("php-cgi db/add.php domain={$poddata->host}") . "\r\n";
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment