From 767f165965280a9a6b7b5a0fbaa533b3a35bc723 Mon Sep 17 00:00:00 2001 From: Friendika Date: Wed, 13 Apr 2011 07:07:21 -0700 Subject: local documentation library --- mod/help.php | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 mod/help.php (limited to 'mod/help.php') diff --git a/mod/help.php b/mod/help.php new file mode 100644 index 000000000..e07e4c5d9 --- /dev/null +++ b/mod/help.php @@ -0,0 +1,33 @@ +argc > 1) + $text = load_doc_file('doc/' . $a->argv[1] . '.md'); + + if(! $text) { + $text = load_doc_file('doc/Home.md'); + } + return Markdown($text); + +} \ No newline at end of file -- cgit v1.2.3