$theme = $opts->theme; $themes = str_replace($theme . """, $theme . "" target="_blank">" . ucfirst($frontend) . "</a>"; } ?> </div> </form> <?php require_once "misc/search_engine.php"; require_once "locale/localization.php"; $opts = load_opts(); if ($opts->disable_api) { echo "<p>" . TEXTS["api_unavailable"] . "</p>"; die(); } require_once "misc/tools.php"; $url = $_REQUEST["url"]; $requested_root_domain = get_root_domain($url); $allowed_domains = array("i.ytimg.com", "s2.qwant.com", "s1.qwant.com", "upload.wikimedia.org"); if (in_array($requested_root_domain, $allowed_domains)) { $image = $url;