phpsnif reports

/sites/all/modules/feeds/libraries/http_request.inc
line 305
warning
INI directive 'safe_mode' is deprecated since PHP 5.3 and removed since PHP 5.4 PHPCompatibility.PHP.DeprecatedIniDirectives.safe_modeDeprecatedRemoved

Issue fork feeds-2890859

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

webservant316 created an issue. See original summary.

megachriz’s picture

// cURL below PHP 5.6.0 must not have open_basedir or safe_mode enabled.
if (version_compare(PHP_VERSION, '5.6.0', '<')) {
  return !ini_get('safe_mode') && !ini_get('open_basedir');
}

I think the code is okay. It is checking if by any chance 'safe_mode' is enabled, which apparently should not be the case in order to use cURL.

webservant316’s picture

ah yeah, I should have looked closer. thanks!

megachriz’s picture

Status: Active » Closed (works as designed)

No problem! :)

kent77 made their first commit to this issue’s fork.

gisle’s picture

kent77,
please do not create merge random requests to add a license to the repo. This closed issue has nothing to do with a licensing, so such a merge request is not helpful. If you want to contribute, open up a new issue and provide your motivation for doing so.

Also: Drupal is already licensed under the GPL and licensing a component of Drupal under a different license is not wanted.

In general, if you want to contribute in our issue queues, please first study our Issue Etiquette.