]> git.wh0rd.org - tt-rss.git/blobdiff - include/functions.php
geturl: if head request is denied because host is still living in 20th century, try...
[tt-rss.git] / include / functions.php
index ee061eca7131b7eaa12bacab58875da4f6e074cb..ac8fb6302904237725ecd88f77f097483d8d6c21 100644 (file)
@@ -64,7 +64,7 @@
        function get_translations() {
                $tr = array(
                                        "auto"  => "Detect automatically",
-                                       "ar_SA" => "العربيّة",
+                                       "ar_SA" => "العربيّة (Arabic)",
                                        "da_DA" => "Dansk",
                                        "ca_CA" => "Català",
                                        "cs_CZ" => "Česky",
 
                        $fetch_curl_used = true;
 
-                       if (ini_get("safe_mode") || ini_get("open_basedir")) {
+                       if (ini_get("safe_mode") || ini_get("open_basedir") || defined("FORCE_GETURL")) {
                                $new_url = geturl($url);
                                if (!$new_url) {
                                    // geturl has already populated $fetch_last_error