Created
July 26, 2017 06:41
-
-
Save rilwanfit/a36c47729115579d45762c807a28c350 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class XFrameOptionHeader extends Zend_Controller_Plugin_Abstract | |
{ | |
public function dispatchLoopStartup(Zend_Controller_Request_Abstract $request) | |
{ | |
$this->_response->setHeader('X-FRAME-OPTIONS', 'DENY'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment