You are here

function humanstxt_file in Humans.txt 7

Same name and namespace in other branches
  1. 6 humanstxt.module \humanstxt_file()

Callback to display humans.txt file.

1 string reference to 'humanstxt_file'
humanstxt_menu in ./humanstxt.module
Implements hook_menu().

File

./humanstxt.module, line 44
humanstxt module file.

Code

function humanstxt_file() {
  $content = array();
  $content[] = _humanstxt_get_content();
  header('Content-type: text/plain; charset=UTF-8');
  echo implode("\n", $content);
  exit;
}