Hi,
Is there a way to add some custom php to a Server Action in the editor?
I have added <?php session_cache_limiter('private');?>
on top of one ServerAction and it is working great.
However, this line is overwritten when action steps are modified in the GUI.
Is there any tagline that I can use to indicate to the GUI not to alter my custom line?
Thank you
why not putting it into .htaccess or php.ini ?
session_cache_limiter(„private“);
okay ignore my code, my quotes are weird on my phone…
I have set the htaccess with and it is working well.
The only case where it needs to have <?php session_cache_limiter('private');?>
in PHP is whenever we have a Security Enforcer on the page and still want the cache to be active.