Forums / Developer / Change siteaccess in eZ CLI PHP script / Comment46324
Kristof Coomans
Monday 10 July 2006 2:17:34 am
Hello Fabio
Calling <i>$script->setUseSiteAccess('siteaccess1');</i> only works before <i>$script->initialize();</i>.
Have you tried the second method you mentioned with EZ_ACCESS_TYPE_STATIC instead of EZ_ACCESS_TYPE_HTTP_HOST?
independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org