<commit_before><?php
/*
 * DPTechnics CMS
 * Framework configuration 
 * Author: <NAME>
 * Date: 18-08-2014
 */
 
 class Config {
 
    /* Site configuration */
    public static $siteURL	= 'http://dptknokke.ns01.info:9000';

    /* Database configuration */
    public static $dbServer = 'localhost';
    public static $dbPort 	= '3306';
    public static $dbName 	= 'grader';
    public static $dbUser 	= 'grader-site';
    public static $dbPass 	= '<PASSWORD>';

    /* Pagination settings */
    public static $pageCount	= 20;

     /* Log file */
     public static $logfile = './logfile.log';
     
   /*
    * Image upload settings
    */
   public static $fileImgSupport          = array("image/gif", "image/jpeg", "image/jpg", "image/pjpeg", "image/x-png", "image/png", "application/vnd.ms-excel","text/plain", "text/csv", "text/tsv", "application/octet-stream", "");
   public static $fileFriendlySupport     = 'GIF, JPEG, PNG, CSV';
   public static $fileMaxSize             = 4096;
   public static $fileDestination	  = 'upload';
 }
?><commit_msg>Add configuration variables to control the log destination<commit_after><?php
/*
 * DPTechnics CMS
 * Framework configuration 
 * Author: <NAME>
 * Date: 18-08-2014
 */
 
 class Config {
 
    /* Site configuration */
    public static $siteURL	= 'http://dptknokke.ns01.info:9000';

    /* Database configuration */
    public static $dbServer = 'localhost';
    public static $dbPort 	= '3306';
    public static $dbName 	= 'grader';
    public static $dbUser 	= 'grader-site';
    public static $dbPass 	= '<PASSWORD>';

    /* Pagination settings */
    public static $pageCount	= 20;

    /**
     * Controls the destination of the logging. Set to syslog or file.
     * When set to file, define public static $logfile.
     * @var string Either 'syslog' or 'file'
     */
    public static $logDestination = 'file';
    /**
     * When $logDestination is set to 'file', this variable controls which file
     * logging goes to.
     * @var string A filepath
     */
     public static $logfile = './logfile.log';
     
   /*
    * Image upload settings
    */
    public static $fileImgSupport          = array("image/gif", "image/jpeg", "image/jpg", "image/pjpeg", "image/x-png", "image/png", "application/vnd.ms-excel","text/plain", "text/csv", "text/tsv", "application/octet-stream", "");
    public static $fileFriendlySupport     = 'GIF, JPEG, PNG, CSV';
    public static $fileMaxSize             = 4096;
    public static $fileDestination	  = 'upload';
 }
?>
{'fraction_non_alphanumeric': 0.1435349940688019, 'fraction_numerical': 0.018979833926453145, 'mean_word_length': 2.7704918032786887, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '3694738', 'n_tokens_mistral': 839, 'n_tokens_neox': 781, 'n_words': 216}