mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
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:
parent
31956c2abb
commit
8f3ce9c9c4
2 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
?>
|
||||
|
|
|
@ -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;
|
||||
?>
|
||||
|
|
Loading…
Reference in a new issue