X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/58c5ec6b45dcc52107f5e7c8bbca2933c7f2e98d..83209975037c6fadba1fd0555e37e95c17fe6099:/article.inc.php diff --git a/article.inc.php b/article.inc.php index 8b01699..093852f 100644 --- a/article.inc.php +++ b/article.inc.php @@ -48,7 +48,7 @@ class ArchiveArticle $this->path = ''; $this->restricted = FALSE; while (TRUE) { - if (file_exists("$path/.private")) { + if (file_exists("$path/.private") and !$this->restricted) { $this->restricted = $path; }