From a74fd27e5f238f91f39be14056692945eecedabc Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Wed, 6 Jan 2010 11:35:01 -0800 Subject: Updated Kohana to r4737 --- system/config/cache.php | 24 ++++++++++++------- system/config/cookie.php | 19 ++++++++++++++- system/config/credit_cards.php | 18 ++++++++++---- system/config/database.php | 29 ++++++++++++++--------- system/config/encryption.php | 30 +++++++++++++++--------- system/config/http.php | 13 ++++++++++- system/config/image.php | 13 +++++++++-- system/config/inflector.php | 10 ++++++++ system/config/locale.php | 13 +++++++++-- system/config/log.php | 24 +++++++++++++++---- system/config/mimes.php | 8 +++++-- system/config/profiler.php | 8 +++++-- system/config/routes.php | 53 +++++++++++++++++++++++++++++++++++++++++- system/config/session.php | 10 +++++++- system/config/sql_types.php | 14 +++++++---- system/config/upload.php | 9 ++++++- system/config/user_agents.php | 18 ++++++++++---- system/config/view.php | 9 ++++++- 18 files changed, 260 insertions(+), 62 deletions(-) (limited to 'system/config') diff --git a/system/config/cache.php b/system/config/cache.php index 76af4f6a..6b2f7871 100644 --- a/system/config/cache.php +++ b/system/config/cache.php @@ -1,25 +1,31 @@ File cache is fast and reliable, but requires many filesystem lookups. - * > Database cache can be used to cache items remotely, but is slower. - * > Memcache is very high performance, but prevents cache tags from being used. * - * params - Driver parameters, specific to each driver. + * - driver - Cache backend driver. Kohana comes with file, database, and memcache drivers. + * - File cache is fast and reliable, but requires many filesystem lookups. + * - Database cache can be used to cache items remotely, but is slower. + * - Memcache is very high performance, but prevents cache tags from being used. + * + * - params - Driver parameters, specific to each driver. * - * lifetime - Default lifetime of caches in seconds. By default caches are stored for + * - lifetime - Default lifetime of caches in seconds. By default caches are stored for * thirty minutes. Specific lifetime can also be set when creating a new cache. * Setting this to 0 will never automatically delete caches. * - * prefix - Adds a prefix to all keys and tags. This can have a severe performance impact. + * - prefix - Adds a prefix to all keys and tags. This can have a severe performance impact. * */ $config['default'] = array diff --git a/system/config/cookie.php b/system/config/cookie.php index d370ecf0..5340f05d 100644 --- a/system/config/cookie.php +++ b/system/config/cookie.php @@ -1,38 +1,55 @@ 'mysql://dbuser:secret@localhost/kohana' - * character_set - Database character set - * table_prefix - Database table prefix - * object - Enable or disable object results - * cache - Enable or disable query caching - * escape - Enable automatic query builder escaping + * - character_set - Database character set + * - table_prefix - Database table prefix + * - object - Enable or disable object results + * - cache - Enable or disable query caching + * - escape - Enable automatic query builder escaping */ $config['default'] = array ( diff --git a/system/config/encryption.php b/system/config/encryption.php index 589a9def..12ff7ae5 100644 --- a/system/config/encryption.php +++ b/system/config/encryption.php @@ -1,27 +1,35 @@ 1, @@ -10,10 +19,17 @@ $config['log_levels'] = array 'debug' => 4, ); -// See different log levels above +/** + * See different log levels above + */ $config['log_threshold'] = 1; +/** + * Log Date format + */ $config['date_format'] = 'Y-m-d H:i:s P'; -// We can define multiple logging backends at the same time. +/** + * We can define multiple logging backends at the same time. + */ $config['drivers'] = array('file'); \ No newline at end of file diff --git a/system/config/mimes.php b/system/config/mimes.php index c4318d58..f8f8aaf0 100644 --- a/system/config/mimes.php +++ b/system/config/mimes.php @@ -1,14 +1,18 @@ array('text/h323'), diff --git a/system/config/profiler.php b/system/config/profiler.php index 90532f07..d30a1b45 100644 --- a/system/config/profiler.php +++ b/system/config/profiler.php @@ -1,10 +1,14 @@ 'Windows Vista', @@ -49,8 +53,10 @@ $config['platform'] = array '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. +/** + * The order of this array should NOT be changed. Many browsers return + * multiple browser types so we want to identify the sub-type first. + */ $config['browser'] = array ( 'Opera' => 'Opera', @@ -98,7 +104,9 @@ $config['mobile'] = array 'android' => 'Android', ); -// There are hundreds of bots but these are the most common. +/** + * There are hundreds of bots but these are the most common. + */ $config['robot'] = array ( 'googlebot' => 'Googlebot', diff --git a/system/config/view.php b/system/config/view.php index a77af878..b6a25b17 100644 --- a/system/config/view.php +++ b/system/config/view.php @@ -1,7 +1,14 @@