jasonlewis / basset

A better asset management package for Laravel.
http://jasonlewis.me/code/basset
240 stars 76 forks source link

curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set #189

Closed ChaosPower closed 11 years ago

ChaosPower commented 11 years ago

Problem with curl @ ISPConfig 3

curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set

if I comment out these two, will it not affect basset?

File: basset/src/Basset/Asset.php

  1. curl_setopt($handler, CURLOPT_RETURNTRANSFER, true);
  2. curl_setopt($handler, CURLOPT_FOLLOWLOCATION, true);

EDIT: Fixed via commenting curl_setopt($handler, CURLOPT_FOLLOWLOCATION, true);