<commit_before><?php
define( 'WEBAPPS_PATH', '/srv/web/www/webapps/' );

function roots_ualib_startSession() {
  if(!session_id())
    session_start();
}

function roots_ualib_endSession() {
  session_destroy ();
}

function roots_ualib_scripts() {
    if ( is_page('news-and-exhibitions') )
        wp_enqueue_script(
            'tinyMCE',
            '//tinymce.cachefly.net/4.0/tinymce.min.js'
        );
  if ( is_page('hours') )
    wp_enqueue_script(
      'GoogleMapAPI',
      '//maps.googleapis.com/maps/api/js?key=AIzaSyDCIMNYW9I2NfZfh83u-NRPUgHlUG51Hfc'
    );
}

function add_manage_admin_bar_link() {
    global $wp_admin_bar;
    if ( !is_super_admin() || !is_admin_bar_showing() )
        return;

    @include_once WEBAPPS_PATH . "userGroupsAdmin/constants.php";<commit_msg>Manage StaffDir: added profile management<commit_after><?php
define( 'WEBAPPS_PATH', '/srv/web/www/webapps/' );

function roots_ualib_startSession() {
  if(!session_id())
    session_start();
}

function roots_ualib_endSession() {
  session_destroy ();
}

function roots_ualib_scripts() {
    if ( is_page('news-and-exhibitions') or is_page('edit-directory-profile') )
        wp_enqueue_script(
            'tinyMCE',
            '//tinymce.cachefly.net/4.0/tinymce.min.js'
        );
  if ( is_page('hours') )
    wp_enqueue_script(
      'GoogleMapAPI',
      '//maps.googleapis.com/maps/api/js?key=AIzaSyDCIMNYW9I2NfZfh83u-NRPUgHlUG51Hfc'
    );
}

function add_manage_admin_bar_link() {
    global $wp_admin_bar;
    if ( !is_super_admin() || !is_admin_bar_showing() )
        return;

    @include_once WEBAPPS_PATH . "userGroupsAdmin/constants.php";
{'fraction_non_alphanumeric': 0.14146933819064966, 'fraction_numerical': 0.009714632665452338, 'mean_word_length': 3.515068493150685, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '2053747', 'n_tokens_mistral': 641, 'n_tokens_neox': 626, 'n_words': 73}