<commit_before><?php $img_max_sizes = Site_Upload::conv_size_str_to_array(conf('upload.types.img.accepted_max_size.default')); ?>
<script>
var GL = {};
GL.execute_flg = false;
function get_uid() {return <?php echo (!IS_ADMIN && Auth::check()) ? $u->id : 0; ?>;}
function check_is_admin() {return <?php echo IS_ADMIN ? 'true' : 'false'; ?>;}
function getBasePath() {return '<?php echo Uri::base_path(); ?>';}
function getCurrentPath() {return '<?php echo Uri::string(); ?>';}
function getBaseUrl() {<commit_msg>Imploved function get_uid() on footer<commit_after><?php $img_max_sizes = Site_Upload::conv_size_str_to_array(conf('upload.types.img.accepted_max_size.default')); ?>
<script>
var GL = {};
GL.execute_flg = false;
function get_uid() {return <?php echo (!IS_ADMIN && Auth::check()) ? get_uid() : 0; ?>;}
function check_is_admin() {return <?php echo IS_ADMIN ? 'true' : 'false'; ?>;}
function getBasePath() {return '<?php echo Uri::base_path(); ?>';}
function getCurrentPath() {return '<?php echo Uri::string(); ?>';}
function getBaseUrl() {
{'fraction_non_alphanumeric': 0.2034383954154728, 'fraction_numerical': 0.0019102196752626551, 'mean_word_length': 7.590163934426229, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 16, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4666092', 'n_tokens_mistral': 362, 'n_tokens_neox': 360, 'n_words': 82}