mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-20 21:11:28 +00:00
rename USE_CURL_FOR_ICONS to USE_CURL
This commit is contained in:
@@ -41,8 +41,8 @@
|
||||
exit;
|
||||
}
|
||||
|
||||
if (USE_CURL_FOR_ICONS && ! function_exists("curl_init")) {
|
||||
print "<b>Fatal Error</b>: You have enabled USE_CURL_FOR_ICONS, but your PHP
|
||||
if (USE_CURL && ! function_exists("curl_init")) {
|
||||
print "<b>Fatal Error</b>: You have enabled USE_CURL, but your PHP
|
||||
doesn't seem to support CURL functions.";
|
||||
exit;
|
||||
}
|
||||
@@ -138,6 +138,10 @@
|
||||
$err_msg = "php.ini: Safe mode is not supported. If you wish to continue, remove this test from sanity_check.php and proceeed at your own risk. Please note that your bug reports will not be accepted or reviewed.";
|
||||
}
|
||||
|
||||
if (defined('USE_CURL_FOR_ICONS')) {
|
||||
$err_msg = "config: USE_CURL_FOR_ICONS has been renamed to USE_CURL.";
|
||||
}
|
||||
|
||||
if ($err_msg) {
|
||||
print "<b>Fatal Error</b>: $err_msg\n";
|
||||
exit;
|
||||
|
||||
Reference in New Issue
Block a user