fix missing dcCore for _resources

This commit is contained in:
Jean-Christian Paul Denis 2022-11-25 23:15:31 +01:00
parent 758b204a45
commit 275d73840d
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
2 changed files with 2 additions and 6 deletions

View File

@ -13,6 +13,4 @@
if (!defined('DC_RC_PATH')) { if (!defined('DC_RC_PATH')) {
return; return;
} }
if (!isset($__resources['help']['dcAdvancedCleaner'])) { dcCore::app()->resources['help']['dcAdvancedCleaner'] = __DIR__ . '/help/dcAdvancedCleaner.html';
$__resources['help']['dcAdvancedCleaner'] = dirname(__FILE__) . '/help/dcAdvancedCleaner.html';
}

View File

@ -13,6 +13,4 @@
if (!defined('DC_RC_PATH')) { if (!defined('DC_RC_PATH')) {
return; return;
} }
if (!isset($__resources['help']['dcAdvancedCleaner'])) { dcCore::app()->resources['help']['dcAdvancedCleaner'] = __DIR__ . '/help/dcAdvancedCleaner.html';
$__resources['help']['dcAdvancedCleaner'] = dirname(__FILE__) . '/help/dcAdvancedCleaner.html';
}