Mercurial > SimpleWebPresenter
diff FileCacheSet.inc @ 90:aafc23919e79
Validating errorPage.
| author | Tom Fredrik "BFG" Klaussen <bfg@blenning.no> |
|---|---|
| date | Wed, 17 Oct 2012 21:23:02 +0200 |
| parents | 1d5166aba2c5 |
| children | d98e315308cd |
line wrap: on
line diff
--- a/FileCacheSet.inc Wed Oct 17 20:43:25 2012 +0200 +++ b/FileCacheSet.inc Wed Oct 17 21:23:02 2012 +0200 @@ -66,7 +66,7 @@ { if (!file_exists($path)) { Logger::warn("${path} does not exist"); - errorPage("Resource is not available"); + errorPage("Resource is not available", 404); } array_push($this->files, $path);
