fix new resources call

This commit is contained in:
Jean-Christian Paul Denis 2022-11-14 20:56:37 +01:00
parent 261b30ca16
commit 3fd34adc72
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
2 changed files with 2 additions and 2 deletions

View File

@ -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';

View File

@ -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';