33
2
mirror of https://github.com/joomla-extensions/jedchecker.git synced 2024-12-25 03:36:00 +00:00

Fix path to rules.

Signed-off-by: Craig Phillips <craig@craigphillips.biz>
This commit is contained in:
Craig Phillips 2013-11-11 16:39:06 +11:00
parent 0e0cba30c6
commit 17904bf844

View File

@ -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))