Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
In init.php
if (defined('ADMIN_SECTION') && ADMIN_SECTION === true) {
$asset = \Bitrix\Main\Page\Asset::getInstance();
$asset->addCss('/local/css/admin/style.css');
$asset->addJs('/local/js/admin/admin.js');
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question