autoload([ 'dcTranslater' => __DIR__ . '/inc/class.dc.translater.php', 'dcTranslaterDefaultSettings' => __DIR__ . '/inc/class.dc.translater.php', 'dcTranslaterModule' => __DIR__ . '/inc/class.dc.translater.module.php', 'dcTranslaterLang' => __DIR__ . '/inc/class.dc.translater.lang.php', 'translaterRest' => __DIR__ . '/class.translater.rest.php', ]); if (isset(dcCore::app()->adminurl)) { dcCore::app()->adminurl->register(basename(__DIR__), 'plugin.php', ['p' => basename(__DIR__)]); }