diff --git a/locales/en/resources.php b/locales/en/resources.php index 98d6d69..a254f38 100644 --- a/locales/en/resources.php +++ b/locales/en/resources.php @@ -13,6 +13,4 @@ if (!defined('DC_RC_PATH')) { return; } -if (!isset($__resources['help']['dcAdvancedCleaner'])) { - $__resources['help']['dcAdvancedCleaner'] = dirname(__FILE__) . '/help/dcAdvancedCleaner.html'; -} +dcCore::app()->resources['help']['dcAdvancedCleaner'] = __DIR__ . '/help/dcAdvancedCleaner.html'; diff --git a/locales/fr/resources.php b/locales/fr/resources.php index 98d6d69..a254f38 100644 --- a/locales/fr/resources.php +++ b/locales/fr/resources.php @@ -13,6 +13,4 @@ if (!defined('DC_RC_PATH')) { return; } -if (!isset($__resources['help']['dcAdvancedCleaner'])) { - $__resources['help']['dcAdvancedCleaner'] = dirname(__FILE__) . '/help/dcAdvancedCleaner.html'; -} +dcCore::app()->resources['help']['dcAdvancedCleaner'] = __DIR__ . '/help/dcAdvancedCleaner.html';