We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 0e039b88 authored by Evan Prodromou's avatar Evan Prodromou

error in file_exists()

parent 0cabc703
......@@ -27,7 +27,7 @@ class DocAction extends Action {
$title = $this->trimmed('title');
$filename = INSTALLDIR.'/doc/'.$title;
if (!file_exists()) {
if (!file_exists($filename)) {
common_user_error(_t('No such document.'));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment