fix public side undefined call

This commit is contained in:
Jean-Christian Paul Denis 2021-09-25 17:38:22 +02:00
parent 3a18325a62
commit ba93fbac00
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951

View File

@ -22,4 +22,6 @@ $__autoload['dcTranslaterModule'] = $d . 'class.dc.translater.module.php';
$__autoload['dcTranslaterLang'] = $d . 'class.dc.translater.lang.php';
$__autoload['translaterRest'] = $d . 'class.translater.rest.php';
$core->adminurl->register('translater', 'plugin.php', ['p' => 'translater']);
if (isset($core->adminurl)) {
$core->adminurl->register('translater', 'plugin.php', ['p' => 'translater']);
}