Hello, in head.php present this code:
<script type="text/javascript">
var betCurrentLocale = '<?php echo osc_esc_js($current_locale['s_name']); ?>';
var fileDefaultText = '<?php echo osc_esc_js(__('No file selected', 'beta')); ?>';
var fileBtnText = '<?php echo osc_esc_js(__('Choose File', 'beta')); ?>';
var baseDir = "<?php echo osc_base_url(); ?>";
var baseSearchUrl = '<?php echo osc_search_url(array('page' => 'search')); ?>';
var baseAjaxUrl = '<?php echo bet_ajax_url(); ?>';
var baseAdminDir = '<?php echo osc_admin_base_url(true); ?>';
var currentLocation = '<?php echo osc_get_osclass_location(); ?>';
var currentSection = '<?php echo osc_get_osclass_section(); ?>';
var adminLogged = '<?php echo osc_is_admin_user_logged_in() ? 1 : 0; ?>';
var betLazy = '<?php echo bet_is_lazy(); ?>';
var betMasonry = '<?php echo osc_get_preference('force_aspect_image', 'osclass') == 1 ? 1 : 0; ?>';
var imgPreviewRatio= <?php echo round($dimNormal[0]/$dimNormal[1], 3); ?>;
var searchRewrite = '/<?php echo osc_get_preference('rewrite_search_url', 'osclass'); ?>';
var ajaxSearch = '<?php echo (bet_param('search_ajax') == 1 ? '1' : '0'); ?>';
var ajaxForms = '<?php echo (bet_param('forms_ajax') == 1 ? '1' : '0'); ?>';
var locationPick = '<?php echo (bet_param('location_pick') == 1 ? '0' : '0'); ?>';
var betTitleNc = '<?php echo osc_esc_js(__('Parent category cannot be selected', 'beta')); ?>';
</script>
where var baseAdminDir = '<?php echo osc_admin_base_url(true); ?>'; return current admin path, which available in source code.
I changed admin path and don't want to show it for security reasons.
How i can to hide this lines from source code and for what this?
Regards