login/pass: error messages below page title
[minimedit.git] / article.inc.php
index 8b01699ea8c453b48d26b837cc84c5b13902558d..093852f96753e712014e0f07961f6c8a34cb8552 100644 (file)
@@ -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;
                        }