3 if(! function_exists('load_doc_file')) {
4 function load_doc_file($s) {
10 if(file_exists("$d/$lang/$b"))
11 return file_get_contents("$d/$lang/$b");
12 return file_get_contents($s);
17 function help_content(&$a) {
21 require_once('library/markdown.php');
26 $text = load_doc_file('doc/' . $a->argv[1] . '.md');
29 $text = load_doc_file('doc/Home.md');
31 return Markdown($text);