Path

ez projects / ezupgrade / forum / general / proxy


Proxy

You need to be logged in to post messages in the forums. New users may register here.

Jérôme Vieilledent

Member since:
09 January 2008

Posts: 98

Monday 06 September 2010 11:52:20 am

Hi

Thank you for this FANTASTIC standalone "extension". It is really useful !
I found an issue while upgrading an eZ Publish installation for a client who uses a proxy : eZ Upgrade class does not offer proxy configuration. The process failed.
I hacked a bit the class (classes/ezupgrade.php, line 779) to add my proxy settings :



$command = "curl -s -o $filename -x my.proxy.host:8080 -U proxyuser:proxypassword " . $this->upgradeVersionSettings['DownloadURL'] . " 2>&1";




It would be really nice to add a setting in an INI file for that (just like in eZ Publish).
Is there a reason you don't use curl PHP extension instead ?
Up

Anders Berre

Member since:
09 January 2008

Posts: 23

Thursday 16 September 2010 12:01:55 pm

Hi Jérôme,
Thanks for your nice feedback :-)

We of course take look at proxy, and try to include this in our next release!

No reason for not using curl PHP extension. I did not know there was an curl PHP extension, so I guess thats why ;)

Sincerely,

Anders Sandvik Berre
http://www.byte.no/

Up

You need to be logged in to post messages in the forums. New users may register here.