<script>
    $('li[data-active="<?php echo empty($light_config['disc_page_index'] && $light_config['disc_page']) ? 'index' : 'bbs'; ?>"]').addClass('active');
    $('a[data-active="<?php echo empty($light_config['disc_page_index'] && $light_config['disc_page']) ? 'index' : 'bbs'; ?>"]').addClass('active');
</script>

