Skip to content
Permalink
Browse files

Use include instead of require for sitemap file, so we can actually c…

…atch the missing file error and throw a 404
  • Loading branch information...
tbuteler committed Mar 23, 2016
1 parent dce9bdf commit 4877a27b51320aa64af7588431121fa6fb40d895
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Controller.php
@@ -77,7 +77,7 @@ public function render()
try {
$this->groups = require $path;
$this->groups = include $path;
} catch (\Exception $e) {

0 comments on commit 4877a27

Please sign in to comment.
You can’t perform that action at this time.