forked from GNUsocial/gnu-social
Moved /doc/ to /doc-src/
Moved the doc/ dir to /doc-src/ so that the actual markdown files aren't substituted for the docs.
This commit is contained in:
parent
7b9e69eb89
commit
1a7337f2fd
@ -59,7 +59,7 @@ class DocAction extends Action
|
||||
{
|
||||
parent::handle($args);
|
||||
$this->title = $this->trimmed('title');
|
||||
$this->filename = INSTALLDIR.'/doc/'.$this->title;
|
||||
$this->filename = INSTALLDIR.'/doc-src/'.$this->title;
|
||||
if (!file_exists($this->filename)) {
|
||||
$this->clientError(_('No such document.'));
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user