<commit_before><?php
/**
* $Id: constants.php,v 1.3 2005-08-01 20:07:03 thorstenr Exp $
*
* Constants for phpMyFAQ
*
* @author       <NAME> <<EMAIL>>
* @since        2003-12-10
* @copyright    (c) 2003-2005 phpMyFAQ Team
*
* The contents of this file are subject to the Mozilla Public License Version 
* 1.1 (the "License"); you may not use this file except in compliance with 
* the License. You may obtain a copy of the License at 
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*/

/* Use this constant if you want to change your timezone */
$PMF_CONST["timezone"] = "0"; // default: "0", example: "-0400" for 4 hours before

/* Timeout for the admin section in minutes */
$PMF_CONST["timeout"] = "30";

/****************************************************************************
 *                  DO NOT CHANGE ANYTHING BELOW THIS LINE!                 *
 ****************************************************************************/

/* This array sets the rights for an user - DO NOT CHANGE! */
$faqrights = array (
        1 => "adduser",
        2 => "edituser",
        3 => "deluser",
        4 => "addbt",
        5 => "editbt",
        6 => "delbt",
        7 => "viewlog",
        8 => "adminlog",
        9 => "delcomment",
        10 => "addnews",
        11 => "editnews",
        12 => "delnews",
        13 => "addcateg",
        14 => "editcateg",
        15 => "delcateg",
        16 => "passwd",
        17 => "editconfig",
        18 => "addatt",
        19 => "delatt",
        20 => "backup",
        21 => "restore",
        22 => "delquestion"
        );

/* allowed "action" varibales for GET - DO NOT CHANGE! */
$allowedVariables = array(
        "add" => 1,
        "contact" => 1,
        "mailsend2friend" => 1,
        "save" => 1,
        "savevoting" => 1,
        "sendmail" => 1,
        "writecomment" => 1,
        "artikel" => 1,
        "help" => 1,
        "savecomment" => 1,
        "search" => 1,
        "show" => 1,
        "xml" => 1,
        "ask" => 1,
        "open" => 1,
        "savequestion" => 1,
        "send2friend" => 1
        );

/* ISO 639 language code list - DO NOT CHANGE! */
$languageCodes = array (
        "AF" => "Afghanistan",
        "AA" => "Afar",
        "AB" => "Abkhazian",
        "AF" => "Afrikaans",
        "AM" => "Amharic",
        "AR" => "Arabic",
        "AS" => "Assamese",
        "AY" => "Aymara",
        "AZ" => "Azerbaijani",
        "BA" => "Bashkir",
        "BE" => "Byelorussian",
        "BG" => "Bulgarian",
        "BH" => "Bihari",
        "BI" => "Bislama",
        "BN" => "Bengali",
        "BO" => "Tibetan",
        "BR" => "Breton",
        "CA" => "Catalan",
        "CO" => "Corsican",
        "CS" => "Czech",
        "CY" => "Welsh",
        "DA" => "Danish",
        "DE" => "German",
        "DZ" => "Bhutani",
        "EL" => "Greek",
        "EN" => "English",
        "EO" => "Esperanto",
        "ES" => "Spanish",
        "ET" => "Estonian",
        "EU" => "Basque",
        "FA" => "Persian",
        "FI" => "Finnish",
        "FJ" => "Fiji",
        "FO" => "Faeroese",
        "FR" => "French",
        "FY" => "Frisian",
        "GA" => "Irish",
        "GD" => "Gaelic",
        "GL" => "Galician",
        "GN" => "Guarani",
        "GU" => "Gujarati",
        "HA" => "Hausa",
        "HE" => "Hebrew",
        "HI" => "Hindi",
        "HR" => "Croatian",
        "HU" => "Hungarian",
        "HY" => "Armenian",
        "IA" => "Interlingua",
        "IE" => "Interlingue",
        "IK" => "Inupiak",
        "ID" => "Indonesian",
        "IS" => "Icelandic",
        "IT" => "Italian",
        "IW" => "Hebrew",
        "JA" => "Japanese",
        "JI" => "Yiddish",
        "JW" => "Javanese",
        "KA" => "Georgian",
        "KK" => "Kazakh",
        "KL" => "Greenlandic",
        "KM" => "Cambodian",
        "KN" => "Kannada",
        "KO" => "Korean",
        "KS" => "Kashmiri",
        "KU" => "Kurdish",
        "KY" => "Kirghiz",
        "LA" => "Latin",
        "LN" => "Lingala",
        "LO" => "Laothian",
        "LT" => "Lithuanian",
        "LV" => "Latvian",
        "MG" => "Malagasy",
        "MI" => "Maori",
        "MK" => "Macedonian",
        "ML" => "Malayalam",
        "MN" => "Mongolian",
        "MO" => "Moldavian",
        "MR" => "Marathi",
        "MS" => "Malay",
        "MT" => "Maltese",
        "MY" => "Burmese",
        "NA" => "Nauru",
        "NE" => "Nepali",
        "NL" => "Dutch",
        "NO" => "Norwegian",
        "OC" => "Occitan",
        "OM" => "Oromo",
        "OR" => "Oriya",
        "PA" => "Punjabi",
        "PL" => "Polish",
        "PS" => "Pashto",
        "PT" => "Portuguese",
        "QU" => "Quechua",
        "RN" => "Kirundi",
        "RO" => "Romanian",
        "RU" => "Russian",
        "RW" => "Kinyarwanda",
        "SA" => "Sanskrit",
        "SD" => "Sindhi",
        "SG" => "Sangro",
        "SH" => "Serbo-Croatian",
        "SI" => "Singhalese",
        "SK" => "Slovak",
        "SL" => "Slovenian",
        "SM" => "Samoan",
        "SN" => "Shona",<commit_msg>Added the two Norwegian languages<commit_after><?php
/**
* $Id: constants.php,v 1.4 2005-09-05 17:55:47 thorstenr Exp $
*
* Constants for phpMyFAQ
*
* @author       <NAME> <<EMAIL>>
* @since        2003-12-10
* @copyright    (c) 2003-2005 phpMyFAQ Team
*
* The contents of this file are subject to the Mozilla Public License Version 
* 1.1 (the "License"); you may not use this file except in compliance with 
* the License. You may obtain a copy of the License at 
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*/

/* Use this constant if you want to change your timezone */
$PMF_CONST["timezone"] = "0"; // default: "0", example: "-0400" for 4 hours before

/* Timeout for the admin section in minutes */
$PMF_CONST["timeout"] = "30";

/****************************************************************************
 *                  DO NOT CHANGE ANYTHING BELOW THIS LINE!                 *
 ****************************************************************************/

/* This array sets the rights for an user - DO NOT CHANGE! */
$faqrights = array (
        1 => "adduser",
        2 => "edituser",
        3 => "deluser",
        4 => "addbt",
        5 => "editbt",
        6 => "delbt",
        7 => "viewlog",
        8 => "adminlog",
        9 => "delcomment",
        10 => "addnews",
        11 => "editnews",
        12 => "delnews",
        13 => "addcateg",
        14 => "editcateg",
        15 => "delcateg",
        16 => "passwd",
        17 => "editconfig",
        18 => "addatt",
        19 => "delatt",
        20 => "backup",
        21 => "restore",
        22 => "delquestion"
        );

/* allowed "action" varibales for GET - DO NOT CHANGE! */
$allowedVariables = array(
        "add" => 1,
        "contact" => 1,
        "mailsend2friend" => 1,
        "save" => 1,
        "savevoting" => 1,
        "sendmail" => 1,
        "writecomment" => 1,
        "artikel" => 1,
        "help" => 1,
        "savecomment" => 1,
        "search" => 1,
        "show" => 1,
        "xml" => 1,
        "ask" => 1,
        "open" => 1,
        "savequestion" => 1,
        "send2friend" => 1
        );

/* ISO 639 language code list - DO NOT CHANGE! */
$languageCodes = array (
        "AF" => "Afghanistan",
        "AA" => "Afar",
        "AB" => "Abkhazian",
        "AF" => "Afrikaans",
        "AM" => "Amharic",
        "AR" => "Arabic",
        "AS" => "Assamese",
        "AY" => "Aymara",
        "AZ" => "Azerbaijani",
        "BA" => "Bashkir",
        "BE" => "Byelorussian",
        "BG" => "Bulgarian",
        "BH" => "Bihari",
        "BI" => "Bislama",
        "BN" => "Bengali",
        "BO" => "Tibetan",
        "BR" => "Breton",
        "CA" => "Catalan",
        "CO" => "Corsican",
        "CS" => "Czech",
        "CY" => "Welsh",
        "DA" => "Danish",
        "DE" => "German",
        "DZ" => "Bhutani",
        "EL" => "Greek",
        "EN" => "English",
        "EO" => "Esperanto",
        "ES" => "Spanish",
        "ET" => "Estonian",
        "EU" => "Basque",
        "FA" => "Persian",
        "FI" => "Finnish",
        "FJ" => "Fiji",
        "FO" => "Faeroese",
        "FR" => "French",
        "FY" => "Frisian",
        "GA" => "Irish",
        "GD" => "Gaelic",
        "GL" => "Galician",
        "GN" => "Guarani",
        "GU" => "Gujarati",
        "HA" => "Hausa",
        "HE" => "Hebrew",
        "HI" => "Hindi",
        "HR" => "Croatian",
        "HU" => "Hungarian",
        "HY" => "Armenian",
        "IA" => "Interlingua",
        "IE" => "Interlingue",
        "IK" => "Inupiak",
        "ID" => "Indonesian",
        "IS" => "Icelandic",
        "IT" => "Italian",
        "IW" => "Hebrew",
        "JA" => "Japanese",
        "JI" => "Yiddish",
        "JW" => "Javanese",
        "KA" => "Georgian",
        "KK" => "Kazakh",
        "KL" => "Greenlandic",
        "KM" => "Cambodian",
        "KN" => "Kannada",
        "KO" => "Korean",
        "KS" => "Kashmiri",
        "KU" => "Kurdish",
        "KY" => "Kirghiz",
        "LA" => "Latin",
        "LN" => "Lingala",
        "LO" => "Laothian",
        "LT" => "Lithuanian",
        "LV" => "Latvian",
        "MG" => "Malagasy",
        "MI" => "Maori",
        "MK" => "Macedonian",
        "ML" => "Malayalam",
        "MN" => "Mongolian",
        "MO" => "Moldavian",
        "MR" => "Marathi",
        "MS" => "Malay",
        "MT" => "Maltese",
        "MY" => "Burmese",
        "NA" => "Nauru",
        "NE" => "Nepali",
        "NL" => "Dutch",
        "NB" => "Norwegian Bokml",
        "NN" => "Norwegian Nynorsk",
        "OC" => "Occitan",
        "OM" => "Oromo",
        "OR" => "Oriya",
        "PA" => "Punjabi",
        "PL" => "Polish",
        "PS" => "Pashto",
        "PT" => "Portuguese",
        "QU" => "Quechua",
        "RN" => "Kirundi",
        "RO" => "Romanian",
        "RU" => "Russian",
        "RW" => "Kinyarwanda",
        "SA" => "Sanskrit",
        "SD" => "Sindhi",
        "SG" => "Sangro",
        "SH" => "Serbo-Croatian",
        "SI" => "Singhalese",
        "SK" => "Slovak",
        "SL" => "Slovenian",
        "SM" => "Samoan",
        "SN" => "Shona",
{'fraction_non_alphanumeric': 0.23196698245943156, 'fraction_numerical': 0.018759966232060783, 'mean_word_length': 1.766476388168137, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 300, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, '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': '5971796', 'n_tokens_mistral': 4006, 'n_tokens_neox': 3737, 'n_words': 913}