Forums / Developer / Changing siteaccess during script execution / Comment58785
Matthieu Sévère
Tuesday 27 April 2010 5:29:59 am
Yes but this has to be executed before $script->initialize(); thus you will not be able use it during the execution of a cronjob for exemple or a script launched with ezexec.php
-- eZ certified developer: http://ez.no/certification/verify/346216