From a04364adcd6efd0645d6faa9b07ae414e5c3148a Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Wed, 1 Mar 2023 07:45:09 +0100 Subject: [PATCH] Remove unused config files --- application/config/doctypes.php | 15 --- application/config/foreign_chars.php | 65 ---------- application/config/smileys.php | 67 ---------- application/config/user_agents.php | 179 --------------------------- 4 files changed, 326 deletions(-) delete mode 100644 application/config/doctypes.php delete mode 100644 application/config/foreign_chars.php delete mode 100644 application/config/smileys.php delete mode 100644 application/config/user_agents.php diff --git a/application/config/doctypes.php b/application/config/doctypes.php deleted file mode 100644 index 8020d9df..00000000 --- a/application/config/doctypes.php +++ /dev/null @@ -1,15 +0,0 @@ - '', - 'xhtml1-strict' => '', - 'xhtml1-trans' => '', - 'xhtml1-frame' => '', - 'html5' => '', - 'html4-strict' => '', - 'html4-trans' => '', - 'html4-frame' => '' -]; - -/* End of file doctypes.php */ -/* Location: ./application/config/doctypes.php */ diff --git a/application/config/foreign_chars.php b/application/config/foreign_chars.php deleted file mode 100644 index 933c15da..00000000 --- a/application/config/foreign_chars.php +++ /dev/null @@ -1,65 +0,0 @@ - 'ae', - '/ö|œ/' => 'oe', - '/ü/' => 'ue', - '/Ä/' => 'Ae', - '/Ü/' => 'Ue', - '/Ö/' => 'Oe', - '/À|Á|Â|Ã|Ä|Å|Ǻ|Ā|Ă|Ą|Ǎ/' => 'A', - '/à|á|â|ã|å|ǻ|ā|ă|ą|ǎ|ª/' => 'a', - '/Ç|Ć|Ĉ|Ċ|Č/' => 'C', - '/ç|ć|ĉ|ċ|č/' => 'c', - '/Ð|Ď|Đ/' => 'D', - '/ð|ď|đ/' => 'd', - '/È|É|Ê|Ë|Ē|Ĕ|Ė|Ę|Ě/' => 'E', - '/è|é|ê|ë|ē|ĕ|ė|ę|ě/' => 'e', - '/Ĝ|Ğ|Ġ|Ģ/' => 'G', - '/ĝ|ğ|ġ|ģ/' => 'g', - '/Ĥ|Ħ/' => 'H', - '/ĥ|ħ/' => 'h', - '/Ì|Í|Î|Ï|Ĩ|Ī|Ĭ|Ǐ|Į|İ/' => 'I', - '/ì|í|î|ï|ĩ|ī|ĭ|ǐ|į|ı/' => 'i', - '/Ĵ/' => 'J', - '/ĵ/' => 'j', - '/Ķ/' => 'K', - '/ķ/' => 'k', - '/Ĺ|Ļ|Ľ|Ŀ|Ł/' => 'L', - '/ĺ|ļ|ľ|ŀ|ł/' => 'l', - '/Ñ|Ń|Ņ|Ň/' => 'N', - '/ñ|ń|ņ|ň|ʼn/' => 'n', - '/Ò|Ó|Ô|Õ|Ō|Ŏ|Ǒ|Ő|Ơ|Ø|Ǿ/' => 'O', - '/ò|ó|ô|õ|ō|ŏ|ǒ|ő|ơ|ø|ǿ|º/' => 'o', - '/Ŕ|Ŗ|Ř/' => 'R', - '/ŕ|ŗ|ř/' => 'r', - '/Ś|Ŝ|Ş|Š/' => 'S', - '/ś|ŝ|ş|š|ſ/' => 's', - '/Ţ|Ť|Ŧ/' => 'T', - '/ţ|ť|ŧ/' => 't', - '/Ù|Ú|Û|Ũ|Ū|Ŭ|Ů|Ű|Ų|Ư|Ǔ|Ǖ|Ǘ|Ǚ|Ǜ/' => 'U', - '/ù|ú|û|ũ|ū|ŭ|ů|ű|ų|ư|ǔ|ǖ|ǘ|ǚ|ǜ/' => 'u', - '/Ý|Ÿ|Ŷ/' => 'Y', - '/ý|ÿ|ŷ/' => 'y', - '/Ŵ/' => 'W', - '/ŵ/' => 'w', - '/Ź|Ż|Ž/' => 'Z', - '/ź|ż|ž/' => 'z', - '/Æ|Ǽ/' => 'AE', - '/ß/' => 'ss', - '/IJ/' => 'IJ', - '/ij/' => 'ij', - '/Œ/' => 'OE', - '/ƒ/' => 'f' -]; - -/* End of file foreign_chars.php */ -/* Location: ./application/config/foreign_chars.php */ diff --git a/application/config/smileys.php b/application/config/smileys.php deleted file mode 100644 index d4b90870..00000000 --- a/application/config/smileys.php +++ /dev/null @@ -1,67 +0,0 @@ - ['grin.gif', '19', '19', 'grin'], - ':lol:' => ['lol.gif', '19', '19', 'LOL'], - ':cheese:' => ['cheese.gif', '19', '19', 'cheese'], - ':)' => ['smile.gif', '19', '19', 'smile'], - ';-)' => ['wink.gif', '19', '19', 'wink'], - ';)' => ['wink.gif', '19', '19', 'wink'], - ':smirk:' => ['smirk.gif', '19', '19', 'smirk'], - ':roll:' => ['rolleyes.gif', '19', '19', 'rolleyes'], - ':-S' => ['confused.gif', '19', '19', 'confused'], - ':wow:' => ['surprise.gif', '19', '19', 'surprised'], - ':bug:' => ['bigsurprise.gif', '19', '19', 'big surprise'], - ':-P' => ['tongue_laugh.gif', '19', '19', 'tongue laugh'], - '%-P' => ['tongue_rolleye.gif', '19', '19', 'tongue rolleye'], - ';-P' => ['tongue_wink.gif', '19', '19', 'tongue wink'], - ':P' => ['raspberry.gif', '19', '19', 'raspberry'], - ':blank:' => ['blank.gif', '19', '19', 'blank stare'], - ':long:' => ['longface.gif', '19', '19', 'long face'], - ':ohh:' => ['ohh.gif', '19', '19', 'ohh'], - ':grrr:' => ['grrr.gif', '19', '19', 'grrr'], - ':gulp:' => ['gulp.gif', '19', '19', 'gulp'], - '8-/' => ['ohoh.gif', '19', '19', 'oh oh'], - ':down:' => ['downer.gif', '19', '19', 'downer'], - ':red:' => ['embarrassed.gif', '19', '19', 'red face'], - ':sick:' => ['sick.gif', '19', '19', 'sick'], - ':shut:' => ['shuteye.gif', '19', '19', 'shut eye'], - ':-/' => ['hmm.gif', '19', '19', 'hmmm'], - '>:(' => ['mad.gif', '19', '19', 'mad'], - ':mad:' => ['mad.gif', '19', '19', 'mad'], - '>:-(' => ['angry.gif', '19', '19', 'angry'], - ':angry:' => ['angry.gif', '19', '19', 'angry'], - ':zip:' => ['zip.gif', '19', '19', 'zipper'], - ':kiss:' => ['kiss.gif', '19', '19', 'kiss'], - ':ahhh:' => ['shock.gif', '19', '19', 'shock'], - ':coolsmile:' => ['shade_smile.gif', '19', '19', 'cool smile'], - ':coolsmirk:' => ['shade_smirk.gif', '19', '19', 'cool smirk'], - ':coolgrin:' => ['shade_grin.gif', '19', '19', 'cool grin'], - ':coolhmm:' => ['shade_hmm.gif', '19', '19', 'cool hmm'], - ':coolmad:' => ['shade_mad.gif', '19', '19', 'cool mad'], - ':coolcheese:' => ['shade_cheese.gif', '19', '19', 'cool cheese'], - ':vampire:' => ['vampire.gif', '19', '19', 'vampire'], - ':snake:' => ['snake.gif', '19', '19', 'snake'], - ':exclaim:' => ['exclaim.gif', '19', '19', 'excaim'], - ':question:' => ['question.gif', '19', '19', 'question'] // no comma after last item - -]; - -/* End of file smileys.php */ -/* Location: ./application/config/smileys.php */ diff --git a/application/config/user_agents.php b/application/config/user_agents.php deleted file mode 100644 index 6f42fdc5..00000000 --- a/application/config/user_agents.php +++ /dev/null @@ -1,179 +0,0 @@ - 'Windows Longhorn', - 'windows nt 5.2' => 'Windows 2003', - 'windows nt 5.0' => 'Windows 2000', - 'windows nt 5.1' => 'Windows XP', - 'windows nt 4.0' => 'Windows NT 4.0', - 'winnt4.0' => 'Windows NT 4.0', - 'winnt 4.0' => 'Windows NT', - 'winnt' => 'Windows NT', - 'windows 98' => 'Windows 98', - 'win98' => 'Windows 98', - 'windows 95' => 'Windows 95', - 'win95' => 'Windows 95', - 'windows' => 'Unknown Windows OS', - 'os x' => 'Mac OS X', - 'ppc mac' => 'Power PC Mac', - 'freebsd' => 'FreeBSD', - 'ppc' => 'Macintosh', - 'linux' => 'Linux', - 'debian' => 'Debian', - 'sunos' => 'Sun Solaris', - 'beos' => 'BeOS', - 'apachebench' => 'ApacheBench', - 'aix' => 'AIX', - 'irix' => 'Irix', - 'osf' => 'DEC OSF', - 'hp-ux' => 'HP-UX', - 'netbsd' => 'NetBSD', - 'bsdi' => 'BSDi', - 'openbsd' => 'OpenBSD', - 'gnu' => 'GNU/Linux', - 'unix' => 'Unknown Unix OS' -]; - - -// The order of this array should NOT be changed. Many browsers return -// multiple browser types so we want to identify the sub-type first. -$browsers = [ - 'Flock' => 'Flock', - 'Chrome' => 'Chrome', - 'Opera' => 'Opera', - 'MSIE' => 'Internet Explorer', - 'Internet Explorer' => 'Internet Explorer', - 'Shiira' => 'Shiira', - 'Firefox' => 'Firefox', - 'Chimera' => 'Chimera', - 'Phoenix' => 'Phoenix', - 'Firebird' => 'Firebird', - 'Camino' => 'Camino', - 'Netscape' => 'Netscape', - 'OmniWeb' => 'OmniWeb', - 'Safari' => 'Safari', - 'Mozilla' => 'Mozilla', - 'Konqueror' => 'Konqueror', - 'icab' => 'iCab', - 'Lynx' => 'Lynx', - 'Links' => 'Links', - 'hotjava' => 'HotJava', - 'amaya' => 'Amaya', - 'IBrowse' => 'IBrowse' -]; - -$mobiles = [ - // legacy array, old values commented out - 'mobileexplorer' => 'Mobile Explorer', -// 'openwave' => 'Open Wave', -// 'opera mini' => 'Opera Mini', -// 'operamini' => 'Opera Mini', -// 'elaine' => 'Palm', - 'palmsource' => 'Palm', -// 'digital paths' => 'Palm', -// 'avantgo' => 'Avantgo', -// 'xiino' => 'Xiino', - 'palmscape' => 'Palmscape', -// 'nokia' => 'Nokia', -// 'ericsson' => 'Ericsson', -// 'blackberry' => 'BlackBerry', -// 'motorola' => 'Motorola' - - // Phones and Manufacturers - 'motorola' => "Motorola", - 'nokia' => "Nokia", - 'palm' => "Palm", - 'iphone' => "Apple iPhone", - 'ipad' => "iPad", - 'ipod' => "Apple iPod Touch", - 'sony' => "Sony Ericsson", - 'ericsson' => "Sony Ericsson", - 'blackberry' => "BlackBerry", - 'cocoon' => "O2 Cocoon", - 'blazer' => "Treo", - 'lg' => "LG", - 'amoi' => "Amoi", - 'xda' => "XDA", - 'mda' => "MDA", - 'vario' => "Vario", - 'htc' => "HTC", - 'samsung' => "Samsung", - 'sharp' => "Sharp", - 'sie-' => "Siemens", - 'alcatel' => "Alcatel", - 'benq' => "BenQ", - 'ipaq' => "HP iPaq", - 'mot-' => "Motorola", - 'playstation portable' => "PlayStation Portable", - 'hiptop' => "Danger Hiptop", - 'nec-' => "NEC", - 'panasonic' => "Panasonic", - 'philips' => "Philips", - 'sagem' => "Sagem", - 'sanyo' => "Sanyo", - 'spv' => "SPV", - 'zte' => "ZTE", - 'sendo' => "Sendo", - - // Operating Systems - 'symbian' => "Symbian", - 'SymbianOS' => "SymbianOS", - 'elaine' => "Palm", - 'palm' => "Palm", - 'series60' => "Symbian S60", - 'windows ce' => "Windows CE", - - // Browsers - 'obigo' => "Obigo", - 'netfront' => "Netfront Browser", - 'openwave' => "Openwave Browser", - 'mobilexplorer' => "Mobile Explorer", - 'operamini' => "Opera Mini", - 'opera mini' => "Opera Mini", - - // Other - 'digital paths' => "Digital Paths", - 'avantgo' => "AvantGo", - 'xiino' => "Xiino", - 'novarra' => "Novarra Transcoder", - 'vodafone' => "Vodafone", - 'docomo' => "NTT DoCoMo", - 'o2' => "O2", - - // Fallback - 'mobile' => "Generic Mobile", - 'wireless' => "Generic Mobile", - 'j2me' => "Generic Mobile", - 'midp' => "Generic Mobile", - 'cldc' => "Generic Mobile", - 'up.link' => "Generic Mobile", - 'up.browser' => "Generic Mobile", - 'smartphone' => "Generic Mobile", - 'cellphone' => "Generic Mobile" -]; - -// There are hundreds of bots but these are the most common. -$robots = [ - 'googlebot' => 'Googlebot', - 'msnbot' => 'MSNBot', - 'slurp' => 'Inktomi Slurp', - 'yahoo' => 'Yahoo', - 'askjeeves' => 'AskJeeves', - 'fastcrawler' => 'FastCrawler', - 'infoseek' => 'InfoSeek Robot 1.0', - 'lycos' => 'Lycos' -]; - -/* End of file user_agents.php */ -/* Location: ./application/config/user_agents.php */