temporaly fix CURLOPT_FOLLOWLOCATION problem with safe_mode and open_basedir