Share » Forums » Developer » Change siteaccess in eZ CLI PHP script

Change siteaccess in eZ CLI PHP script

Change siteaccess in eZ CLI PHP script

Monday 10 July 2006 2:03:40 am - 2 replies

Author Message

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

Fabio Carissimi

Monday 10 July 2006 3:04:37 am

Hello,

I knew that and take care of calling $script->setUseSiteAccess('siteaccess1'); before $script->initialize();.
I tried every available access method from 1 to 8 (see access.php for details)

It seems that when siteaccess is selected, it can't be changed in the script ... ???

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu