1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-29 14:57:12 +00:00

experimental patch to enable compatibility with php safe_mode

This commit is contained in:
Andrew Dolgov
2013-03-19 01:10:02 +04:00
parent 82d69730cb
commit e2b0054be4
3 changed files with 105 additions and 6 deletions

View File

@@ -125,9 +125,9 @@
array_push($errors, "PHP support for iconv is required to handle multiple charsets.");
}
if (ini_get("safe_mode")) {
/* if (ini_get("safe_mode")) {
array_push($errors, "PHP safe mode setting is not supported.");
}
} */
if ((PUBSUBHUBBUB_HUB || PUBSUBHUBBUB_ENABLED) && !function_exists("curl_init")) {
array_push($errors, "PHP support for CURL is required for PubSubHubbub.");