description="Framework and javascript free privacy respecting meta search engine" version="1.0" vendor="Ahwx <ahwx.org>" maintainer="Ahwx <ahwx.org>" url="https://github.com/Ahwxorg/LibreY" authors="https://github.com/Ahwxorg/LibreY/contributors" # Include arguments as temporary environment variables to be in JSON format.</p> <p>The API supports both POST and GET requests.</p>"; die(); } require_once "misc/tools.php"; require_once "misc/search_engine.php"; $opts = load_opts(); if ($opts->disable_api) { echo "<div>"; echo "<a " . (!isset($opts->engine) ? "selected" : ""; ?> ><br> </div> <h2><?php printtext("settings_frontends");?></h2> <p><?php printtext("settings_frontends_description");?></p> <div class="settings-textbox-container"> <div> <span><?php printtext("settings_language");?></span> <select name="language"> <?php $languages = json_decode(file_get_contents("static/misc/languages.json"), true); $options = ""; $options .= "<option value="$lang_code" $selected>$name</option>"; } echo "</table>"; } ?> <?php require_once "misc/search_engine.php"; $opts = load_opts(); ?> <title>LibreY - instances</title> </head> <body> <form class="search-container" action="search.php" method="get" autocomplete="off"> <h1>Libre<span class="Y">Y</span></h1> <input