running there to be relative to /nix/store/70zzzd5wlgii2xgl5jgaqfjnzrqdbax4-waybar-0.11.0 <?php require_once "misc/search_engine.php"; $opts = load_opts(); if ($opts->disable_api) { echo "<table><tr>"; echo "<th>Clearnet</th>"; echo "<th>Tor</th>"; echo "<th>I2P</th>"; echo "<th>Country</th>"; echo "</tr>"; foreach($instances as $instance) { $hostname = parse_url($instance["clearnet"])["host"]; $country = get_country_emote($instance["country"]) . $instance["country"]; $is_tor = !is_null($instance["tor"]); $is_i2p = !is_null($instance["i2p"]); echo "<tr>"; echo "<td><a href="" . $instance["clearnet"] . "">" . $hostname . "</a></td>"; echo $is_tor ? "<td><a href="" . $data["project_url"] . "" target="_blank">" . ucfirst($frontend) . "</a>"; echo "<input type="text" name="$frontend" placeholder="Replace " . (!isset($opts->language) ? "selected" : "") . ">Any</option>"; foreach ($languages as $lang_code => $language) { $name = trim($parts[0]); $domain = parse_url($_SERVER['SERVER_NAME']);