X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/b1043b02829f9abd3e6549357654f3289211da48..17812701c38fbdc49ed5875ae7d6ab7cf08e68b3:/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; }