mirror of
https://github.com/joomla-extensions/jedchecker.git
synced 2024-12-28 12:30:44 +00:00
Fix displayed filepaths on Windows
`JPath::clean` is necessary to correctly remove full file path prefix in `JEDcheckerReport::addItem`.
This commit is contained in:
parent
f22a82d6cf
commit
3ebb0f3cb1
@ -65,7 +65,7 @@ class JedcheckerControllerPolice extends JControllerLegacy
|
||||
protected function police($class, $folder)
|
||||
{
|
||||
// Prepare rule properties
|
||||
$properties = array('basedir' => $folder);
|
||||
$properties = array('basedir' => JPath::clean($folder));
|
||||
|
||||
// Create instance of the rule
|
||||
$police = new $class($properties);
|
||||
|
Loading…
Reference in New Issue
Block a user