<commit_before><?php
/**
# Copyright <NAME> (<EMAIL>)
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# Redistributions must retain the above copyright notice.
*/

if ($_SERVER['SERVER_NAME'] == 'localhost') {
    define('DEBUG', '1');
    define('DB_CON', serialize(array(
        'mysql',
        'localhost',
        'root',
        '',
        'mypwo'
    )));
} else {
    define('DEBUG', '0');
    define('DB_CON', serialize(array(
        'mysql',
        'localhost',
        '',
        '',
        ''
    )));
}

$siteuri = ((mb_strstr('https', $_SERVER['SERVER_PROTOCOL']) === false) ? 'http' : 'https') . '://' . $_SERVER['SERVER_NAME'];
if ($_SERVER["SERVER_PORT"] != 80) {
    $siteuri .= ":" . $_SERVER["SERVER_PORT"];
}

define('SITE_URI', $siteuri);

define('PATH_URI', dirname($_SERVER["SCRIPT_NAME"]));

define('CONT_DIR', APP_DIR . 'controllers/');
define('LIBS_DIR', APP_DIR . 'libraries/');
define('VIEW_DIR', APP_DIR . 'views/');
define('MODS_DIR', APP_DIR . 'models/');

define('MAIN_CONTROLLER', 'home');
define('MAIN_METHOD', 'index');

define('SESS_TIMEOUT', 1800);
define('SESS_TYPE', 'Native');

ini_set('apc.cache_by_default', 0);

define('SYSTEM_TIMEZONE', 'Asia/Kathmandu');<commit_msg>tweak config file<commit_after><?php
/**
# Copyright <NAME> (<EMAIL>)
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# Redistributions must retain the above copyright notice.
*/

if ($_SERVER['SERVER_NAME'] == 'localhost') {
    define('DEBUG', '1');
    define('DB_CON', serialize(array(
        'mysql',
        'localhost',
        'root',
        '',
        'mypwo'
    )));
} else {
    define('DEBUG', '0');
    define('DB_CON', serialize(array(
        'mysql',
        'localhost',
        '',
        '',
        ''
    )));
}

$siteuri = $_SERVER['REQUEST_SCHEME'] . '://' . $_SERVER['SERVER_NAME'];
if ($_SERVER["SERVER_PORT"] != 80 && $_SERVER["SERVER_PORT"] != 443) {
    $siteuri .= ":" . $_SERVER["SERVER_PORT"];
}

define('SITE_URI', $siteuri);

define('PATH_URI', dirname($_SERVER["SCRIPT_NAME"]));

define('CONT_DIR', APP_DIR . 'controllers/');
define('LIBS_DIR', APP_DIR . 'libraries/');
define('VIEW_DIR', APP_DIR . 'views/');
define('MODS_DIR', APP_DIR . 'models/');

define('MAIN_CONTROLLER', 'home');
define('MAIN_METHOD', 'index');

define('SESS_TIMEOUT', 1800);
define('SESS_TYPE', 'Native');

ini_set('apc.cache_by_default', 0);

define('SYSTEM_TIMEZONE', 'Asia/Kathmandu');
{'fraction_non_alphanumeric': 0.20291479820627803, 'fraction_numerical': 0.007847533632286996, 'mean_word_length': 4.01310861423221, 'pattern_counts': {'":': 2, '<': 9, '<?xml version=': 0, '>': 7, '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': '7191226', 'n_tokens_mistral': 919, 'n_tokens_neox': 898, 'n_words': 185}