MantisBT: master-1.2.x ffd70d46

Author Committer Branch Timestamp Parent
dhx dhx master-1.2.x 2011-01-07 05:45 master-1.2.x de6b4a29
Affected Issues  0012638: function url_get doesn't support 'allow_url_fopen'='Off'
Changeset

Fix 0012638: allow_url_fopen php.ini setting is boolean

Function url_get( $p_url ) in url_api.php file doesn't work properly
when 'allow_url_fopen' is set to 'Off'. Instead of using a generic
ini_get() call we should instead use the ini_get_boolean() call to get
this PHP configuration value.

Thanks to loginus for reporting this issue and providing this patch.

mod - core/url_api.php Diff File