Created
January 26, 2016 18:27
-
-
Save Mark-H/bda283b073b6145cfde1 to your computer and use it in GitHub Desktop.
MODX X-Powered-By header
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
<?php | |
/** | |
* Add as a plugin | |
* System Event: OnHandleRequest | |
*/ | |
if (!headers_sent()) { | |
header('X-Powered-By: MODX Revolution'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment