Changeset 209
- Timestamp:
- 06/12/2007 04:32:57 PM (19 months ago)
- Location:
- trunk/application/config
- Files:
-
- 6 modified
-
config.php (modified) (8 diffs)
-
hooks.php (modified) (1 diff)
-
mimes.php (modified) (1 diff)
-
routes.php (modified) (2 diffs)
-
smileys.php (modified) (2 diffs)
-
user_agents.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/application/config/config.php
r180 r209 12 12 | 13 13 */ 14 $config['base_url'] = "http://127.0.0.1/Kohana/";14 $config['base_url'] = 'http://127.0.0.1/Kohana/'; 15 15 16 16 /* … … 24 24 | 25 25 */ 26 $config['index_page'] = "index.php";26 $config['index_page'] = 'index.php'; 27 27 28 28 /* … … 42 42 | 43 43 */ 44 $config['uri_protocol'] = "AUTO";44 $config['uri_protocol'] = 'AUTO'; 45 45 46 46 /* … … 55 55 */ 56 56 57 $config['url_suffix'] = "";57 $config['url_suffix'] = ''; 58 58 59 59 /* … … 80 80 | 81 81 */ 82 $config['language'] = "english";82 $config['language'] = 'english'; 83 83 84 84 … … 238 238 | 239 239 */ 240 $config['encryption_key'] = "";240 $config['encryption_key'] = ''; 241 241 242 242 /* … … 251 251 | 252 252 */ 253 $config['sess_cookie_name'] = 'bf_session';254 $config['sess_expiration'] = 7200;255 $config['sess_encrypt_cookie'] = FALSE;256 $config['sess_use_database'] = FALSE;257 $config['sess_table_name'] = 'bf_sessions';258 $config['sess_match_ip'] = FALSE;259 $config['sess_match_useragent'] = TRUE;253 $config['sess_cookie_name'] = 'kohana_session'; 254 $config['sess_expiration'] = 7200; 255 $config['sess_encrypt_cookie'] = FALSE; 256 $config['sess_use_database'] = FALSE; 257 $config['sess_table_name'] = 'kohana_sessions'; 258 $config['sess_match_ip'] = FALSE; 259 $config['sess_match_useragent'] = TRUE; 260 260 261 261 /* … … 269 269 | 270 270 */ 271 $config['cookie_prefix'] = "";272 $config['cookie_domain'] = "";273 $config['cookie_path'] = "/";271 $config['cookie_prefix'] = ''; 272 $config['cookie_domain'] = ''; 273 $config['cookie_path'] = '/'; 274 274 275 275 /* -
trunk/application/config/hooks.php
r180 r209 7 7 | files. Please see the user guide for info: 8 8 | 9 | http:// www.codeigniter.com/user_guide/general/hooks.html9 | http://kohanaphp.com/user_guide/general/hooks.html 10 10 | 11 11 */ -
trunk/application/config/mimes.php
r7 r209 9 9 */ 10 10 11 $mimes = array( 'hqx' => 'application/mac-binhex40', 12 'cpt' => 'application/mac-compactpro', 13 'csv' => array('text/x-comma-separated-values', 'application/vnd.ms-excel'), 14 'bin' => 'application/macbinary', 15 'dms' => 'application/octet-stream', 16 'lha' => 'application/octet-stream', 17 'lzh' => 'application/octet-stream', 18 'exe' => 'application/octet-stream', 19 'class' => 'application/octet-stream', 20 'psd' => 'application/x-photoshop', 21 'so' => 'application/octet-stream', 22 'sea' => 'application/octet-stream', 23 'dll' => 'application/octet-stream', 24 'oda' => 'application/oda', 25 'pdf' => array('application/pdf', 'application/x-download'), 26 'ai' => 'application/postscript', 27 'eps' => 'application/postscript', 28 'ps' => 'application/postscript', 29 'smi' => 'application/smil', 30 'smil' => 'application/smil', 31 'mif' => 'application/vnd.mif', 32 'xls' => array('application/excel', 'application/vnd.ms-excel'), 33 'ppt' => 'application/powerpoint', 34 'wbxml' => 'application/wbxml', 35 'wmlc' => 'application/wmlc', 36 'dcr' => 'application/x-director', 37 'dir' => 'application/x-director', 38 'dxr' => 'application/x-director', 39 'dvi' => 'application/x-dvi', 40 'gtar' => 'application/x-gtar', 41 'gz' => 'application/x-gzip', 42 'php' => 'application/x-httpd-php', 43 'php4' => 'application/x-httpd-php', 44 'php3' => 'application/x-httpd-php', 45 'phtml' => 'application/x-httpd-php', 46 'phps' => 'application/x-httpd-php-source', 47 'js' => 'application/x-javascript', 48 'swf' => 'application/x-shockwave-flash', 49 'sit' => 'application/x-stuffit', 50 'tar' => 'application/x-tar', 51 'tgz' => 'application/x-tar', 52 'xhtml' => 'application/xhtml+xml', 53 'xht' => 'application/xhtml+xml', 54 'zip' => array('application/x-zip', 'application/zip', 'application/x-zip-compressed'), 55 'mid' => 'audio/midi', 56 'midi' => 'audio/midi', 57 'mpga' => 'audio/mpeg', 58 'mp2' => 'audio/mpeg', 59 'mp3' => 'audio/mpeg', 60 'aif' => 'audio/x-aiff', 61 'aiff' => 'audio/x-aiff', 62 'aifc' => 'audio/x-aiff', 63 'ram' => 'audio/x-pn-realaudio', 64 'rm' => 'audio/x-pn-realaudio', 65 'rpm' => 'audio/x-pn-realaudio-plugin', 66 'ra' => 'audio/x-realaudio', 67 'rv' => 'video/vnd.rn-realvideo', 68 'wav' => 'audio/x-wav', 69 'bmp' => 'image/bmp', 70 'gif' => 'image/gif', 71 'jpeg' => array('image/jpeg', 'image/pjpeg'), 72 'jpg' => array('image/jpeg', 'image/pjpeg'), 73 'jpe' => array('image/jpeg', 'image/pjpeg'), 74 'png' => array('image/png', 'image/x-png'), 75 'tiff' => 'image/tiff', 76 'tif' => 'image/tiff', 77 'css' => 'text/css', 78 'html' => 'text/html', 79 'htm' => 'text/html', 80 'shtml' => 'text/html', 81 'txt' => 'text/plain', 82 'text' => 'text/plain', 83 'log' => array('text/plain', 'text/x-log'), 84 'rtx' => 'text/richtext', 85 'rtf' => 'text/rtf', 86 'xml' => 'text/xml', 87 'xsl' => 'text/xml', 88 'mpeg' => 'video/mpeg', 89 'mpg' => 'video/mpeg', 90 'mpe' => 'video/mpeg', 91 'qt' => 'video/quicktime', 92 'mov' => 'video/quicktime', 93 'avi' => 'video/x-msvideo', 94 'movie' => 'video/x-sgi-movie', 95 'doc' => 'application/msword', 96 'word' => array('application/msword', 'application/octet-stream'), 97 'xl' => 'application/excel', 98 'eml' => 'message/rfc822' 99 ); 11 $mimes = array 12 ( 13 'hqx' => 'application/mac-binhex40', 14 'cpt' => 'application/mac-compactpro', 15 'csv' => array('text/x-comma-separated-values', 'application/vnd.ms-excel'), 16 'bin' => 'application/macbinary', 17 'dms' => 'application/octet-stream', 18 'lha' => 'application/octet-stream', 19 'lzh' => 'application/octet-stream', 20 'exe' => 'application/octet-stream', 21 'class' => 'application/octet-stream', 22 'psd' => 'application/x-photoshop', 23 'so' => 'application/octet-stream', 24 'sea' => 'application/octet-stream', 25 'dll' => 'application/octet-stream', 26 'oda' => 'application/oda', 27 'pdf' => array('application/pdf', 'application/x-download'), 28 'ai' => 'application/postscript', 29 'eps' => 'application/postscript', 30 'ps' => 'application/postscript', 31 'smi' => 'application/smil', 32 'smil' => 'application/smil', 33 'mif' => 'application/vnd.mif', 34 'xls' => array('application/excel', 'application/vnd.ms-excel'), 35 'ppt' => 'application/powerpoint', 36 'wbxml' => 'application/wbxml', 37 'wmlc' => 'application/wmlc', 38 'dcr' => 'application/x-director', 39 'dir' => 'application/x-director', 40 'dxr' => 'application/x-director', 41 'dvi' => 'application/x-dvi', 42 'gtar' => 'application/x-gtar', 43 'gz' => 'application/x-gzip', 44 'php' => 'application/x-httpd-php', 45 'php4' => 'application/x-httpd-php', 46 'php3' => 'application/x-httpd-php', 47 'phtml' => 'application/x-httpd-php', 48 'phps' => 'application/x-httpd-php-source', 49 'js' => 'application/x-javascript', 50 'swf' => 'application/x-shockwave-flash', 51 'sit' => 'application/x-stuffit', 52 'tar' => 'application/x-tar', 53 'tgz' => 'application/x-tar', 54 'xhtml' => 'application/xhtml+xml', 55 'xht' => 'application/xhtml+xml', 56 'zip' => array('application/x-zip', 'application/zip', 'application/x-zip-compressed'), 57 'mid' => 'audio/midi', 58 'midi' => 'audio/midi', 59 'mpga' => 'audio/mpeg', 60 'mp2' => 'audio/mpeg', 61 'mp3' => 'audio/mpeg', 62 'aif' => 'audio/x-aiff', 63 'aiff' => 'audio/x-aiff', 64 'aifc' => 'audio/x-aiff', 65 'ram' => 'audio/x-pn-realaudio', 66 'rm' => 'audio/x-pn-realaudio', 67 'rpm' => 'audio/x-pn-realaudio-plugin', 68 'ra' => 'audio/x-realaudio', 69 'rv' => 'video/vnd.rn-realvideo', 70 'wav' => 'audio/x-wav', 71 'bmp' => 'image/bmp', 72 'gif' => 'image/gif', 73 'jpeg' => array('image/jpeg', 'image/pjpeg'), 74 'jpg' => array('image/jpeg', 'image/pjpeg'), 75 'jpe' => array('image/jpeg', 'image/pjpeg'), 76 'png' => array('image/png', 'image/x-png'), 77 'tiff' => 'image/tiff', 78 'tif' => 'image/tiff', 79 'css' => 'text/css', 80 'html' => 'text/html', 81 'htm' => 'text/html', 82 'shtml' => 'text/html', 83 'txt' => 'text/plain', 84 'text' => 'text/plain', 85 'log' => array('text/plain', 'text/x-log'), 86 'rtx' => 'text/richtext', 87 'rtf' => 'text/rtf', 88 'xml' => 'text/xml', 89 'xsl' => 'text/xml', 90 'mpeg' => 'video/mpeg', 91 'mpg' => 'video/mpeg', 92 'mpe' => 'video/mpeg', 93 'qt' => 'video/quicktime', 94 'mov' => 'video/quicktime', 95 'avi' => 'video/x-msvideo', 96 'movie' => 'video/x-sgi-movie', 97 'doc' => 'application/msword', 98 'word' => array('application/msword', 'application/octet-stream'), 99 'xl' => 'application/excel', 100 'eml' => 'message/rfc822' 101 ); 100 102 101 103 -
trunk/application/config/routes.php
r7 r209 18 18 | Please see the user guide for complete details: 19 19 | 20 | http:// www.codeigniter.com/user_guide/general/routing.html20 | http://kohanaphp.com/user_guide/general/routing.html 21 21 | 22 22 | ------------------------------------------------------------------------- … … 41 41 */ 42 42 43 $route['default_controller'] = "welcome";44 $route['scaffolding_trigger'] = "";43 $route['default_controller'] = 'welcome'; 44 $route['scaffolding_trigger'] = ''; 45 45 46 46 ?> -
trunk/application/config/smileys.php
r7 r209 9 9 | 10 10 | Please see user guide for more info: 11 | http:// www.codeigniter.com/user_guide/helpers/smiley_helper.html11 | http://kohanaphp.com/user_guide/helpers/smiley_helper.html 12 12 | 13 13 */ … … 15 15 $smileys = array( 16 16 17 // smiley image name width height alt 17 // smiley image name width height alt 18 ':-)' => array('grin.gif', '19', '19', 'grin'), 19 ':lol:' => array('lol.gif', '19', '19', 'LOL'), 20 ':cheese:' => array('cheese.gif', '19', '19', 'cheese'), 21 ':)' => array('smile.gif', '19', '19', 'smile'), 22 ';-)' => array('wink.gif', '19', '19', 'wink'), 23 ';)' => array('wink.gif', '19', '19', 'wink'), 24 ':smirk:' => array('smirk.gif', '19', '19', 'smirk'), 25 ':roll:' => array('rolleyes.gif', '19', '19', 'rolleyes'), 26 ':-S' => array('confused.gif', '19', '19', 'confused'), 27 ':wow:' => array('surprise.gif', '19', '19', 'surprised'), 28 ':bug:' => array('bigsurprise.gif', '19', '19', 'big surprise'), 29 ':-P' => array('tongue_laugh.gif', '19', '19', 'tongue laugh'), 30 '%-P' => array('tongue_rolleye.gif', '19', '19', 'tongue rolleye'), 31 ';-P' => array('tongue_wink.gif', '19', '19', 'tongue wink'), 32 ':P' => array('rasberry.gif', '19', '19', 'rasberry'), 33 ':blank:' => array('blank.gif', '19', '19', 'blank stare'), 34 ':long:' => array('longface.gif', '19', '19', 'long face'), 35 ':ohh:' => array('ohh.gif', '19', '19', 'ohh'), 36 ':grrr:' => array('grrr.gif', '19', '19', 'grrr'), 37 ':gulp:' => array('gulp.gif', '19', '19', 'gulp'), 38 '8-/' => array('ohoh.gif', '19', '19', 'oh oh'), 39 ':down:' => array('downer.gif', '19', '19', 'downer'), 40 ':red:' => array('embarrassed.gif', '19', '19', 'red face'), 41 ':sick:' => array('sick.gif', '19', '19', 'sick'), 42 ':shut:' => array('shuteye.gif', '19', '19', 'shut eye'), 43 ':-/' => array('hmm.gif', '19', '19', 'hmmm'), 44 '>:(' => array('mad.gif', '19', '19', 'mad'), 45 ':mad:' => array('mad.gif', '19', '19', 'mad'), 46 '>:-(' => array('angry.gif', '19', '19', 'angry'), 47 ':angry:' => array('angry.gif', '19', '19', 'angry'), 48 ':zip:' => array('zip.gif', '19', '19', 'zipper'), 49 ':kiss:' => array('kiss.gif', '19', '19', 'kiss'), 50 ':ahhh:' => array('shock.gif', '19', '19', 'shock'), 51 ':coolsmile:' => array('shade_smile.gif', '19', '19', 'cool smile'), 52 ':coolsmirk:' => array('shade_smirk.gif', '19', '19', 'cool smirk'), 53 ':coolgrin:' => array('shade_grin.gif', '19', '19', 'cool grin'), 54 ':coolhmm:' => array('shade_hmm.gif', '19', '19', 'cool hmm'), 55 ':coolmad:' => array('shade_mad.gif', '19', '19', 'cool mad'), 56 ':coolcheese:' => array('shade_cheese.gif', '19', '19', 'cool cheese'), 57 ':vampire:' => array('vampire.gif', '19', '19', 'vampire'), 58 ':snake:' => array('snake.gif', '19', '19', 'snake'), 59 ':exclaim:' => array('exclaim.gif', '19', '19', 'excaim'), 60 ':question:' => array('question.gif', '19', '19', 'question') 61 ); 18 62 19 ':-)' => array('grin.gif', '19', '19', 'grin'),20 ':lol:' => array('lol.gif', '19', '19', 'LOL'),21 ':cheese:' => array('cheese.gif', '19', '19', 'cheese'),22 ':)' => array('smile.gif', '19', '19', 'smile'),23 ';-)' => array('wink.gif', '19', '19', 'wink'),24 ';)' => array('wink.gif', '19', '19', 'wink'),25 ':smirk:' => array('smirk.gif', '19', '19', 'smirk'),26 ':roll:' => array('rolleyes.gif', '19', '19', 'rolleyes'),27 ':-S' => array('confused.gif', '19', '19', 'confused'),28 ':wow:' => array('surprise.gif', '19', '19', 'surprised'),29 ':bug:' => array('bigsurprise.gif', '19', '19', 'big surprise'),30 ':-P' => array('tongue_laugh.gif', '19', '19', 'tongue laugh'),31 '%-P' => array('tongue_rolleye.gif', '19', '19', 'tongue rolleye'),32 ';-P' => array('tongue_wink.gif', '19', '19', 'tongue wink'),33 ':P' => array('rasberry.gif', '19', '19', 'rasberry'),34 ':blank:' => array('blank.gif', '19', '19', 'blank stare'),35 ':long:' => array('longface.gif', '19', '19', 'long face'),36 ':ohh:' => array('ohh.gif', '19', '19', 'ohh'),37 ':grrr:' => array('grrr.gif', '19', '19', 'grrr'),38 ':gulp:' => array('gulp.gif', '19', '19', 'gulp'),39 '8-/' => array('ohoh.gif', '19', '19', 'oh oh'),40 ':down:' => array('downer.gif', '19', '19', 'downer'),41 ':red:' => array('embarrassed.gif', '19', '19', 'red face'),42 ':sick:' => array('sick.gif', '19', '19', 'sick'),43 ':shut:' => array('shuteye.gif', '19', '19', 'shut eye'),44 ':-/' => array('hmm.gif', '19', '19', 'hmmm'),45 '>:(' => array('mad.gif', '19', '19', 'mad'),46 ':mad:' => array('mad.gif', '19', '19', 'mad'),47 '>:-(' => array('angry.gif', '19', '19', 'angry'),48 ':angry:' => array('angry.gif', '19', '19', 'angry'),49 ':zip:' => array('zip.gif', '19', '19', 'zipper'),50 ':kiss:' => array('kiss.gif', '19', '19', 'kiss'),51 ':ahhh:' => array('shock.gif', '19', '19', 'shock'),52 ':coolsmile:' => array('shade_smile.gif', '19', '19', 'cool smile'),53 ':coolsmirk:' => array('shade_smirk.gif', '19', '19', 'cool smirk'),54 ':coolgrin:' => array('shade_grin.gif', '19', '19', 'cool grin'),55 ':coolhmm:' => array('shade_hmm.gif', '19', '19', 'cool hmm'),56 ':coolmad:' => array('shade_mad.gif', '19', '19', 'cool mad'),57 ':coolcheese:' => array('shade_cheese.gif', '19', '19', 'cool cheese'),58 ':vampire:' => array('vampire.gif', '19', '19', 'vampire'),59 ':snake:' => array('snake.gif', '19', '19', 'snake'),60 ':exclaim:' => array('exclaim.gif', '19', '19', 'excaim'),61 ':question:' => array('question.gif', '19', '19', 'question') // no comma after last item62 63 );64 63 ?> -
trunk/application/config/user_agents.php
r7 r209 1 1 <?php if (!defined('BASEPATH')) exit('No direct script access allowed'); 2 2 3 /* 3 4 | ------------------------------------------------------------------- … … 11 12 */ 12 13 13 $platforms = array ( 14 'windows nt 6.0' => 'Windows Longhorn', 15 'windows nt 5.2' => 'Windows 2003', 16 'windows nt 5.0' => 'Windows 2000', 17 'windows nt 5.1' => 'Windows XP', 18 'windows nt 4.0' => 'Windows NT 4.0', 19 'winnt4.0' => 'Windows NT 4.0', 20 'winnt 4.0' => 'Windows NT', 21 'winnt' => 'Windows NT', 22 'windows 98' => 'Windows 98', 23 'win98' => 'Windows 98', 24 'windows 95' => 'Windows 95', 25 'win95' => 'Windows 95', 26 'windows' => 'Unknown Windows OS', 27 'os x' => 'Mac OS X', 28 'ppc mac' => 'Power PC Mac', 29 'freebsd' => 'FreeBSD', 30 'ppc' => 'Macintosh', 31 'linux' => 'Linux', 32 'debian' => 'Debian', 33 'sunos' => 'Sun Solaris', 34 'beos' => 'BeOS', 35 'apachebench' => 'ApacheBench', 36 'aix' => 'AIX', 37 'irix' => 'Irix', 38 'osf' => 'DEC OSF', 39 'hp-ux' => 'HP-UX', 40 'netbsd' => 'NetBSD', 41 'bsdi' => 'BSDi', 42 'openbsd' => 'OpenBSD', 43 'gnu' => 'GNU/Linux', 44 'unix' => 'Unknown Unix OS' 45 ); 14 $platforms = array 15 ( 16 'windows nt 6.0' => 'Windows Longhorn', 17 'windows nt 5.2' => 'Windows 2003', 18 'windows nt 5.0' => 'Windows 2000', 19 'windows nt 5.1' => 'Windows XP', 20 'windows nt 4.0' => 'Windows NT 4.0', 21 'winnt4.0' => 'Windows NT 4.0', 22 'winnt 4.0' => 'Windows NT', 23 'winnt' => 'Windows NT', 24 'windows 98' => 'Windows 98', 25 'win98' => 'Windows 98', 26 'windows 95' => 'Windows 95', 27 'win95' => 'Windows 95', 28 'windows' => 'Unknown Windows OS', 29 'os x' => 'Mac OS X', 30 'ppc mac' => 'Power PC Mac', 31 'freebsd' => 'FreeBSD', 32 'ppc' => 'Macintosh', 33 'linux' => 'Linux', 34 'debian' => 'Debian', 35 'sunos' => 'Sun Solaris', 36 'beos' => 'BeOS', 37 'apachebench' => 'ApacheBench', 38 'aix' => 'AIX', 39 'irix' => 'Irix', 40 'osf' => 'DEC OSF', 41 'hp-ux' => 'HP-UX', 42 'netbsd' => 'NetBSD', 43 'bsdi' => 'BSDi', 44 'openbsd' => 'OpenBSD', 45 'gnu' => 'GNU/Linux', 46 'unix' => 'Unknown Unix OS' 47 ); 46 48 47 49 48 50 // The order of this array should NOT be changed. Many browsers return 49 51 // multiple browser types so we want to identify the sub-type first. 50 $browsers = array( 51 'Opera' => 'Opera', 52 'MSIE' => 'Internet Explorer', 53 'Internet Explorer' => 'Internet Explorer', 54 'Shiira' => 'Shiira', 55 'Firefox' => 'Firefox', 56 'Chimera' => 'Chimera', 57 'Phoenix' => 'Phoenix', 58 'Firebird' => 'Firebird', 59 'Camino' => 'Camino', 60 'Netscape' => 'Netscape', 61 'OmniWeb' => 'OmniWeb', 62 'Mozilla' => 'Mozilla', 63 'Safari' => 'Safari', 64 'Konqueror' => 'Konqueror', 65 'icab' => 'iCab', <
