diff --git a/locales/en/resources.php b/locales/en/resources.php index 3854809..7e6c726 100644 --- a/locales/en/resources.php +++ b/locales/en/resources.php @@ -14,4 +14,4 @@ if (!defined('DC_RC_PATH')) { return; } -$__resources['help']['enhancePostContent'] = dirname(__FILE__) . '/help/help.html'; +dcCore::app()->resources['help']['enhancePostContent'] = __DIR__ . '/help/help.html'; diff --git a/locales/fr/resources.php b/locales/fr/resources.php index 3854809..7e6c726 100644 --- a/locales/fr/resources.php +++ b/locales/fr/resources.php @@ -14,4 +14,4 @@ if (!defined('DC_RC_PATH')) { return; } -$__resources['help']['enhancePostContent'] = dirname(__FILE__) . '/help/help.html'; +dcCore::app()->resources['help']['enhancePostContent'] = __DIR__ . '/help/help.html';