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:
commit
aa6f0c6bb6
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user