mirror of
https://github.com/joomla-extensions/jedchecker.git
synced 2024-11-11 07:41:04 +00:00
Fix path to rules.
Signed-off-by: Craig Phillips <craig@craigphillips.biz>
This commit is contained in:
parent
0e0cba30c6
commit
17904bf844
@ -40,8 +40,8 @@ class com_jedcheckerInstallerScript
|
||||
|
||||
foreach ($oldRules as $rule)
|
||||
{
|
||||
$rulePhpFile = JPATH_ADMINISTRATOR . $this->extension . 'libraries/rules/' . $rule . '.php';
|
||||
$ruleIniFile = JPATH_ADMINISTRATOR . $this->extension . 'libraries/rules/' . $rule . '.ini';
|
||||
$rulePhpFile = JPATH_ADMINISTRATOR . '/components/' . $this->extension . '/libraries/rules/' . $rule . '.php';
|
||||
$ruleIniFile = JPATH_ADMINISTRATOR . '/components/' . $this->extension . '/libraries/rules/' . $rule . '.ini';
|
||||
|
||||
// Remove the rule's php file
|
||||
if(file_exists($rulePhpFile))
|
||||
|
Loading…
Reference in New Issue
Block a user