Skip to content

Instantly share code, notes, and snippets.

@Mark-H
Created January 26, 2016 18:27
Show Gist options
  • Save Mark-H/bda283b073b6145cfde1 to your computer and use it in GitHub Desktop.
Save Mark-H/bda283b073b6145cfde1 to your computer and use it in GitHub Desktop.
MODX X-Powered-By header
<?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