<commit_before><div class="box">
    <h1>{tr:admin_page}</h1>
    
    <?php
    
    $sections = array('statistics', 'transfers', 'guests');
    
    try {
        if(count(Config::overrides()))
            $sections[] = 'config';
    } catch(ConfigOverrideDisabledException $e) {}
    
    $section = 'statistics';
    if(array_key_exists('as', $_REQUEST))
        $section = $_REQUEST['as'];
    
    if(!in_array($section, $sections)) throw new GUIUnknownAdminSectionException($section);
    
    ?>
    
    <div class="menu">
        <ul>
        <?php foreach($sections as $s) { ?>
            <li class="<?php if($s == $section) echo 'current' ?>">
                <a href="?s=admin&as=<?php echo $s ?>">
                    <?php echo Lang::tr('admin_'.$s.'_section') ?>
                </a><commit_msg>Fix overrides enabled check to stop getting exceptions<commit_after><div class="box">
    <h1>{tr:admin_page}</h1>
    
    <?php
    
    $sections = array('statistics', 'transfers', 'guests');
    
    if(Config::get('config_overrides'))
        $sections[] = 'config';
    
    $section = 'statistics';
    if(array_key_exists('as', $_REQUEST))
        $section = $_REQUEST['as'];
    
    if(!in_array($section, $sections)) throw new GUIUnknownAdminSectionException($section);
    
    ?>
    
    <div class="menu">
        <ul>
        <?php foreach($sections as $s) { ?>
            <li class="<?php if($s == $section) echo 'current' ?>">
                <a href="?s=admin&as=<?php echo $s ?>">
                    <?php echo Lang::tr('admin_'.$s.'_section') ?>
                </a>
{'fraction_non_alphanumeric': 0.1867582760774516, 'fraction_numerical': 0.0024984384759525295, 'mean_word_length': 2.3514644351464433, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 29, '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': '2850446', 'n_tokens_mistral': 501, 'n_tokens_neox': 498, 'n_words': 95}