XF 2.0 i need help on how to add X-Frame-Options

You can put it in .htaccess:
Code:
Header add X-Frame-Options: allow-from https://example.com
or if for some reason that doesn't work, you can add it to lib/config.php:
Code:
@header('X-Frame-Options: allow-from https://example.com');

You've read documentation wrong. Only 1 of those lines should be added, not all 3
 
Back
Top Bottom