33
2
mirror of https://github.com/joomla-extensions/jedchecker.git synced 2024-12-02 18:08:21 +00:00

Merge PR #89 with develop

This commit is contained in:
Llewellyn van der Merwe 2021-03-27 05:09:56 +02:00
commit aa6f0c6bb6
Signed by: Llewellyn
GPG Key ID: EFC0C720A240551C

View File

@ -65,7 +65,7 @@ class JedcheckerControllerPolice extends JControllerLegacy
protected function police($class, $folder) protected function police($class, $folder)
{ {
// Prepare rule properties // Prepare rule properties
$properties = array('basedir' => $folder); $properties = array('basedir' => JPath::clean($folder));
// Create instance of the rule // Create instance of the rule
$police = new $class($properties); $police = new $class($properties);