Filter out core paths from missing view/layout errors.

End developers shouldn't be dropping files in /lib/Cake so lets not tell
them to.
This commit is contained in:
mark_story 2014-06-19 10:02:54 -04:00
parent 31956c2abb
commit 8f3ce9c9c4
2 changed files with 6 additions and 0 deletions

View file

@ -30,6 +30,9 @@
<?php
$paths = $this->_paths($this->plugin);
foreach ($paths as $path):
if (strpos($path, CORE_PATH) !== false) {
continue;
}
echo sprintf('<li>%s%s</li>', h($path), h($file));
endforeach;
?>

View file

@ -28,6 +28,9 @@
<?php
$paths = $this->_paths($this->plugin);
foreach ($paths as $path):
if (strpos($path, CORE_PATH) !== false) {
continue;
}
echo sprintf('<li>%s%s</li>', h($path), h($file));
endforeach;
?>