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 +- system/controllers/template.php | 4 +- system/core/Benchmark.php | 4 +- system/core/Event.php | 4 +- system/core/Kohana.php | 4 +- system/core/Kohana_Config.php | 4 +- system/core/Kohana_Exception.php | 7 +- system/helpers/arr.php | 4 +- system/helpers/cookie.php | 4 +- system/helpers/date.php | 4 +- system/helpers/db.php | 4 +- system/helpers/download.php | 4 +- system/helpers/expires.php | 30 +++---- system/helpers/feed.php | 6 +- system/helpers/file.php | 4 +- system/helpers/form.php | 4 +- system/helpers/format.php | 4 +- system/helpers/html.php | 4 +- system/helpers/inflector.php | 4 +- system/helpers/num.php | 4 +- system/helpers/remote.php | 4 +- system/helpers/request.php | 4 +- system/helpers/security.php | 4 +- system/helpers/text.php | 4 +- system/helpers/upload.php | 4 +- system/helpers/url.php | 4 +- system/helpers/utf8.php | 4 +- system/helpers/valid.php | 119 ++++++++++++++++++++++---- system/libraries/Cache.php | 10 +-- system/libraries/Cache_Exception.php | 3 +- system/libraries/Controller.php | 3 +- system/libraries/Database.php | 2 - system/libraries/Database_Cache_Result.php | 2 - system/libraries/Database_Exception.php | 2 - system/libraries/Database_Expression.php | 4 +- system/libraries/Database_Mysql.php | 4 +- system/libraries/Database_Mysql_Result.php | 2 - system/libraries/Database_Mysqli.php | 10 +-- system/libraries/Database_Mysqli_Result.php | 4 +- system/libraries/Encrypt.php | 4 +- system/libraries/I18n.php | 45 +++++----- system/libraries/Image.php | 4 +- system/libraries/Input.php | 4 +- system/libraries/Kohana_404_Exception.php | 4 +- system/libraries/Kohana_Log.php | 4 +- system/libraries/Kohana_PHP_Exception.php | 4 +- system/libraries/Kohana_User_Exception.php | 4 +- system/libraries/Model.php | 4 +- system/libraries/ORM.php | 4 +- system/libraries/ORM_Iterator.php | 16 ++-- system/libraries/ORM_Validation_Exception.php | 14 ++- system/libraries/Profiler.php | 4 +- system/libraries/Profiler_Table.php | 4 +- system/libraries/Router.php | 4 +- system/libraries/Session.php | 4 +- system/libraries/URI.php | 4 +- system/libraries/Validation.php | 4 +- system/libraries/View.php | 4 +- system/libraries/drivers/Session.php | 4 +- system/libraries/drivers/Session/Cache.php | 4 +- system/libraries/drivers/Session/Cookie.php | 4 +- system/libraries/drivers/Session/Database.php | 4 +- system/messages/kohana/core.php | 2 +- 80 files changed, 491 insertions(+), 288 deletions(-) (limited to 'system') 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 @@ add_rules('phone', 'required', 'valid::phone[7, 10, 11, 14]') * - * @package Core + * if ($data->validate()) + * { + * echo 'The phone number is valid'; + * } + * else + * { + * echo Kohana::debug($data->errors()); + * } + * + * [!!] The *valid::* part of the rule is optional, but is recommended to avoid conflicts with php functions. + * + * For more informaiton see the [Validation] Library. + * + * ###### Standalone Example: + * if (valid::phone($_POST['phone'], array(7, 10, 11, 14)) + * { + * echo 'The phone number is valid'; + * } + * else + * { + * echo 'Not valid'; + * } + * + * @package Kohana * @author Kohana Team * @copyright (c) 2007-2009 Kohana Team * @license http://kohanaphp.com/license @@ -12,9 +38,20 @@ class valid_Core { /** - * Validate email, commonly used characters only + * Validate an email address. This method is more strict than valid::email_rfc(); * - * @param string email address + * ###### Example: + * $email = 'bill@gates.com'; + * if (valid::email($email)) + * { + * echo "Valid email"; + * } + * else + * { + * echo "Invalid email"; + * } + * + * @param string A email address * @return boolean */ public static function email($email) @@ -26,6 +63,8 @@ class valid_Core { * Validate the domain of an email address by checking if the domain has a * valid MX record. * + * [!!] This function will always return `TRUE` if the checkdnsrr() function isn't avaliable (All Windows platforms before php 5.3) + * * @param string email address * @return boolean */ @@ -41,8 +80,7 @@ class valid_Core { } /** - * Validate email, RFC compliant version - * Note: This function is LESS strict than valid_email. Choose carefully. + * RFC compliant email validation. This function is __LESS__ strict than [valid::email]. Choose carefully. * * @see Originally by Cal Henderson, modified to fit Kohana syntax standards: * @see http://www.iamcal.com/publish/articles/php/parsing_email/ @@ -70,7 +108,18 @@ class valid_Core { } /** - * Validate URL + * Basic URL validation. + * + * ###### Example: + * $url = 'http://www.kohanaphp.com'; + * if (valid::url($url)) + * { + * echo "Valid url"; + * } + * else + * { + * echo "Invalid url"; + * } * * @param string URL * @return boolean @@ -81,7 +130,9 @@ class valid_Core { } /** - * Validate IP + * Validates an IP Address. This only tests to see if the ip address is valid, + * it doesn't check to see if the ip address is actually in use. Has optional support for + * IPv6, and private ip address ranges. * * @param string IP address * @param boolean allow IPv6 addresses @@ -102,8 +153,19 @@ class valid_Core { } /** - * Validates a credit card number using the Luhn (mod10) formula. - * @see http://en.wikipedia.org/wiki/Luhn_algorithm + * Validates a credit card number using the [Luhn (mod10)](http://en.wikipedia.org/wiki/Luhn_algorithm) + * formula. + * + * ###### Example: + * $cc_number = '4111111111111111'; + * if (valid::credit_card($cc_number, array('visa', 'mastercard'))) + * { + * echo "Valid number"; + * } + * else + * { + * echo "Invalid number"; + * } * * @param integer credit card number * @param string|array card type, or an array of card types @@ -178,7 +240,19 @@ class valid_Core { } /** - * Checks if a phone number is valid. + * Checks if a phone number is valid. This function will strip all non-digit + * characters from the phone number for testing. + * + * ###### Example: + * $phone_number = '(201) 664-0274'; + * if (valid::phone($phone_number)) + * { + * echo "Valid phone number"; + * } + * else + * { + * echo "Invalid phone number"; + * } * * @param string phone number to check * @return boolean @@ -198,7 +272,8 @@ class valid_Core { } /** - * Tests if a string is a valid date string. + * Tests if a string is a valid date using the php + * [strtotime()](http://php.net/strtotime) function * * @param string date to check * @return boolean @@ -266,9 +341,8 @@ class valid_Core { /** * Checks whether a string is a valid number (negative and decimal numbers allowed). - * - * @see Uses locale conversion to allow decimal point to be locale specific. - * @see http://www.php.net/manual/en/function.localeconv.php + * This function uses [localeconv()](http://www.php.net/manual/en/function.localeconv.php) + * to support international number formats. * * @param string input string * @return boolean @@ -318,6 +392,19 @@ class valid_Core { * array(2) would force the number to have 2 decimal places, array(4,2) * would force the number to have 4 digits and 2 decimal places. * + * ###### Example: + * $decimal = '4.5'; + * if (valid::decimal($decimal, array(2,1))) + * { + * echo "Valid decimal"; + * } + * else + * { + * echo "Invalid decimal"; + * } + * + * Output: Invalid decimal + * * @param string input string * @param array decimal format: y or x,y * @return boolean diff --git a/system/libraries/Cache.php b/system/libraries/Cache.php index 024c1888..c7954d37 100644 --- a/system/libraries/Cache.php +++ b/system/libraries/Cache.php @@ -4,9 +4,7 @@ * resources. Caches are identified by a unique string. Tagging of caches is * also supported, and caches can be found and deleted by id or tag. * - * $Id: Cache.php 4605 2009-09-14 17:22:21Z kiall $ - * - * @package Cache + * @package Kohana * @author Kohana Team * @copyright (c) 2007-2009 Kohana Team * @license http://kohanaphp.com/license @@ -106,7 +104,7 @@ class Cache_Core { if ($this->config['prefix'] !== NULL) { $key = $this->add_prefix($key); - + if ($tags !== NULL) { $tags = $this->add_prefix($tags, FALSE); @@ -132,14 +130,14 @@ class Cache_Core { if ($this->config['prefix'] !== NULL) { $keys = $this->add_prefix($keys, FALSE); - + if ( ! $single) { return $this->strip_prefix($this->driver->get($keys, $single)); } } - + return $this->driver->get($keys, $single); } diff --git a/system/libraries/Cache_Exception.php b/system/libraries/Cache_Exception.php index 040d086d..706dc09a 100644 --- a/system/libraries/Cache_Exception.php +++ b/system/libraries/Cache_Exception.php @@ -1,8 +1,7 @@ table_prefix()); $tables = array(); - foreach ($this->query('SHOW TABLES FROM '.$this->escape($this->config['connection']['database']).' LIKE '.$this->quote($this->table_prefix().'%'))->as_array() as $row) + foreach ($this->query('SHOW TABLES LIKE '.$this->quote($this->table_prefix().'%'))->as_array() as $row) { // The value is the table name $tables[] = substr(current($row), $prefix); diff --git a/system/libraries/Database_Mysql_Result.php b/system/libraries/Database_Mysql_Result.php index 020360d1..0f898984 100644 --- a/system/libraries/Database_Mysql_Result.php +++ b/system/libraries/Database_Mysql_Result.php @@ -2,8 +2,6 @@ /** * MySQL database result. * - * $Id: Database_Mysql_Result.php 4679 2009-11-10 01:45:52Z isaiah $ - * * @package Kohana * @author Kohana Team * @copyright (c) 2008-2009 Kohana Team diff --git a/system/libraries/Database_Mysqli.php b/system/libraries/Database_Mysqli.php index 08ed99df..41b635d1 100644 --- a/system/libraries/Database_Mysqli.php +++ b/system/libraries/Database_Mysqli.php @@ -1,9 +1,7 @@ real_connect($host, $user, $pass, $database, $port, $socket, $params)) throw new Database_Exception('#:errno: :error', array(':error' => $mysqli->connect_error, ':errno' => $mysqli->connect_errno)); - + $this->connection = $mysqli; - + if (isset($this->config['character_set'])) { // Set the character set diff --git a/system/libraries/Database_Mysqli_Result.php b/system/libraries/Database_Mysqli_Result.php index 3601aeac..f8b7b588 100644 --- a/system/libraries/Database_Mysqli_Result.php +++ b/system/libraries/Database_Mysqli_Result.php @@ -2,8 +2,6 @@ /** * MySQL database result. * - * $Id: Database_Mysqli_Result.php 4679 2009-11-10 01:45:52Z isaiah $ - * * @package Kohana * @author Kohana Team * @copyright (c) 2008-2009 Kohana Team @@ -29,7 +27,7 @@ class Database_Mysqli_Result_Core extends Database_Result { throw new Database_Exception('#:errno: :error [ :query ]', array(':error' => $link->error, ':query' => $sql, - ':errno' => $link->errno)); + ':errno' => $link->errno)); } else { diff --git a/system/libraries/Encrypt.php b/system/libraries/Encrypt.php index 0fbcfc1b..15d40877 100644 --- a/system/libraries/Encrypt.php +++ b/system/libraries/Encrypt.php @@ -4,9 +4,9 @@ * using the MCrypt extension. * @see http://php.net/mcrypt * - * $Id: Encrypt.php 4683 2009-11-14 17:10:53Z isaiah $ + * $Id: Encrypt.php 4729 2009-12-29 20:35:19Z isaiah $ * - * @package Core + * @package Kohana * @author Kohana Team * @copyright (c) 2007-2009 Kohana Team * @license http://kohanaphp.com/license diff --git a/system/libraries/I18n.php b/system/libraries/I18n.php index 96752e51..9401ddcd 100644 --- a/system/libraries/I18n.php +++ b/system/libraries/I18n.php @@ -2,35 +2,12 @@ /** * Kohana I18N System * - * $Id: I18n.php 4679 2009-11-10 01:45:52Z isaiah $ - * - * @package Cache + * @package Kohana * @author Kohana Team * @copyright (c) 2007-2009 Kohana Team * @license http://kohanaphp.com/license */ -/** - * Loads the configured driver and validates it. - * - * @param string Text to output - * @param array Key/Value pairs of arguments to replace in the string - * @return string Translated text - */ -function __($string, $args = NULL) -{ - // KOHANA_LOCALE is the default locale, in which all of Kohana's __() calls are written in - if (I18n::get_locale() != Kohana::LOCALE) - { - $string = I18n::get_text($string); - } - - if ($args === NULL) - return $string; - - return strtr($string, $args); -} - class I18n_Core { protected static $locale; @@ -99,5 +76,25 @@ class I18n_Core else return $string; } +} +/** + * Loads the configured driver and validates it. + * + * @param string Text to output + * @param array Key/Value pairs of arguments to replace in the string + * @return string Translated text + */ +function __($string, $args = NULL) +{ + // KOHANA_LOCALE is the default locale, in which all of Kohana's __() calls are written in + if (I18n::get_locale() != Kohana::LOCALE) + { + $string = I18n::get_text($string); + } + + if ($args === NULL) + return $string; + + return strtr($string, $args); } diff --git a/system/libraries/Image.php b/system/libraries/Image.php index dd1e28ab..991c8d54 100644 --- a/system/libraries/Image.php +++ b/system/libraries/Image.php @@ -3,9 +3,7 @@ * Manipulate images using standard methods such as resize, crop, rotate, etc. * This class must be re-initialized for every image you wish to manipulate. * - * $Id: Image.php 4679 2009-11-10 01:45:52Z isaiah $ - * - * @package Image + * @package Kohana * @author Kohana Team * @copyright (c) 2007-2009 Kohana Team * @license http://kohanaphp.com/license diff --git a/system/libraries/Input.php b/system/libraries/Input.php index 7a277317..c6c84fca 100644 --- a/system/libraries/Input.php +++ b/system/libraries/Input.php @@ -2,9 +2,9 @@ /** * Input library. * - * $Id: Input.php 4727 2009-12-23 19:03:05Z isaiah $ + * $Id: Input.php 4729 2009-12-29 20:35:19Z isaiah $ * - * @package Core + * @package Kohana * @author Kohana Team * @copyright (c) 2007-2009 Kohana Team * @license http://kohanaphp.com/license diff --git a/system/libraries/Kohana_404_Exception.php b/system/libraries/Kohana_404_Exception.php index 8c7cc787..7bb77084 100644 --- a/system/libraries/Kohana_404_Exception.php +++ b/system/libraries/Kohana_404_Exception.php @@ -2,9 +2,9 @@ /** * Creates a "Page Not Found" exception. * - * $Id: Kohana_404_Exception.php 4679 2009-11-10 01:45:52Z isaiah $ + * $Id: Kohana_404_Exception.php 4729 2009-12-29 20:35:19Z isaiah $ * - * @package Core + * @package Kohana * @author Kohana Team * @copyright (c) 2007-2009 Kohana Team * @license http://kohanaphp.com/license diff --git a/system/libraries/Kohana_Log.php b/system/libraries/Kohana_Log.php index 44ef8af8..5126013e 100644 --- a/system/libraries/Kohana_Log.php +++ b/system/libraries/Kohana_Log.php @@ -2,9 +2,9 @@ /** * Logging class. * - * $Id: Kohana_Log.php 4679 2009-11-10 01:45:52Z isaiah $ + * $Id: Kohana_Log.php 4729 2009-12-29 20:35:19Z isaiah $ * - * @package Core + * @package Kohana * @author Kohana Team * @copyright (c) 2007-2009 Kohana Team * @license http://kohanaphp.com/license diff --git a/system/libraries/Kohana_PHP_Exception.php b/system/libraries/Kohana_PHP_Exception.php index 019c686b..779c229a 100644 --- a/system/libraries/Kohana_PHP_Exception.php +++ b/system/libraries/Kohana_PHP_Exception.php @@ -2,9 +2,9 @@ /** * Kohana PHP Error Exceptions * - * $Id: Kohana_PHP_Exception.php 4687 2009-11-30 21:59:26Z isaiah $ + * $Id: Kohana_PHP_Exception.php 4729 2009-12-29 20:35:19Z isaiah $ * - * @package Core + * @package Kohana * @author Kohana Team * @copyright (c) 2007-2009 Kohana Team * @license http://kohanaphp.com/license diff --git a/system/libraries/Kohana_User_Exception.php b/system/libraries/Kohana_User_Exception.php index 95b7bc68..a0ec3ac4 100644 --- a/system/libraries/Kohana_User_Exception.php +++ b/system/libraries/Kohana_User_Exception.php @@ -2,9 +2,9 @@ /** * Creates a custom exception message. * - * $Id: Kohana_User_Exception.php 4679 2009-11-10 01:45:52Z isaiah $ + * $Id: Kohana_User_Exception.php 4729 2009-12-29 20:35:19Z isaiah $ * - * @package Core + * @package Kohana * @author Kohana Team * @copyright (c) 2007-2009 Kohana Team * @license http://kohanaphp.com/license diff --git a/system/libraries/Model.php b/system/libraries/Model.php index 01d16fdd..ee50d50c 100644 --- a/system/libraries/Model.php +++ b/system/libraries/Model.php @@ -2,9 +2,9 @@ /** * Model base class. * - * $Id: Model.php 4679 2009-11-10 01:45:52Z isaiah $ + * $Id: Model.php 4729 2009-12-29 20:35:19Z isaiah $ * - * @package Core + * @package Kohana * @author Kohana Team * @copyright (c) 2007-2009 Kohana Team * @license http://kohanaphp.com/license diff --git a/system/libraries/ORM.php b/system/libraries/ORM.php index e2f27bac..60439106 100644 --- a/system/libraries/ORM.php +++ b/system/libraries/ORM.php @@ -8,9 +8,7 @@ * [ref-orm]: http://wikipedia.org/wiki/Object-relational_mapping * [ref-act]: http://wikipedia.org/wiki/Active_record * - * $Id: ORM.php 4711 2009-12-10 20:40:52Z isaiah $ - * - * @package ORM + * @package Kohana * @author Kohana Team * @copyright (c) 2007-2009 Kohana Team * @license http://kohanaphp.com/license diff --git a/system/libraries/ORM_Iterator.php b/system/libraries/ORM_Iterator.php index 403d1e93..0bf2b477 100644 --- a/system/libraries/ORM_Iterator.php +++ b/system/libraries/ORM_Iterator.php @@ -1,14 +1,12 @@ $table)); $exception->validation = $array; throw $exception; - } + } } // End ORM_Validation_Exception \ No newline at end of file diff --git a/system/libraries/Profiler.php b/system/libraries/Profiler.php index 940e365d..3ac8707e 100644 --- a/system/libraries/Profiler.php +++ b/system/libraries/Profiler.php @@ -8,9 +8,7 @@ * POST Data - The name and values of any POST data submitted to the current page. * Cookie Data - All cookies sent for the current request. * - * $Id: Profiler.php 4719 2009-12-17 04:31:48Z isaiah $ - * - * @package Profiler + * @package Kohana * @author Kohana Team * @copyright (c) 2007-2009 Kohana Team * @license http://kohanaphp.com/license diff --git a/system/libraries/Profiler_Table.php b/system/libraries/Profiler_Table.php index fdb62aef..e590ad7d 100644 --- a/system/libraries/Profiler_Table.php +++ b/system/libraries/Profiler_Table.php @@ -2,9 +2,7 @@ /** * Provides a table layout for sections in the Profiler library. * - * $Id: Profiler_Table.php 4679 2009-11-10 01:45:52Z isaiah $ - * - * @package Profiler + * @package Kohana * @author Kohana Team * @copyright (c) 2007-2009 Kohana Team * @license http://kohanaphp.com/license diff --git a/system/libraries/Router.php b/system/libraries/Router.php index 18e01af2..c36121df 100644 --- a/system/libraries/Router.php +++ b/system/libraries/Router.php @@ -2,9 +2,9 @@ /** * Router * - * $Id: Router.php 4693 2009-12-04 17:11:16Z cbandy $ + * $Id: Router.php 4729 2009-12-29 20:35:19Z isaiah $ * - * @package Core + * @package Kohana * @author Kohana Team * @copyright (c) 2007-2009 Kohana Team * @license http://kohanaphp.com/license diff --git a/system/libraries/Session.php b/system/libraries/Session.php index 9764a35c..e57908e1 100644 --- a/system/libraries/Session.php +++ b/system/libraries/Session.php @@ -2,9 +2,9 @@ /** * Session library. * - * $Id: Session.php 4679 2009-11-10 01:45:52Z isaiah $ + * $Id: Session.php 4729 2009-12-29 20:35:19Z isaiah $ * - * @package Core + * @package Kohana * @author Kohana Team * @copyright (c) 2007-2009 Kohana Team * @license http://kohanaphp.com/license diff --git a/system/libraries/URI.php b/system/libraries/URI.php index 4df54fc0..16d101a7 100644 --- a/system/libraries/URI.php +++ b/system/libraries/URI.php @@ -2,9 +2,9 @@ /** * URI library. * - * $Id: URI.php 4679 2009-11-10 01:45:52Z isaiah $ + * $Id: URI.php 4729 2009-12-29 20:35:19Z isaiah $ * - * @package Core + * @package Kohana * @author Kohana Team * @copyright (c) 2007-2009 Kohana Team * @license http://kohanaphp.com/license diff --git a/system/libraries/Validation.php b/system/libraries/Validation.php index 47f34584..9917fbbc 100644 --- a/system/libraries/Validation.php +++ b/system/libraries/Validation.php @@ -2,9 +2,7 @@ /** * Validation library. * - * $Id: Validation.php 4713 2009-12-10 22:25:38Z isaiah $ - * - * @package Validation + * @package Kohana * @author Kohana Team * @copyright (c) 2007-2009 Kohana Team * @license http://kohanaphp.com/license diff --git a/system/libraries/View.php b/system/libraries/View.php index d7e5e774..ba482bb8 100644 --- a/system/libraries/View.php +++ b/system/libraries/View.php @@ -3,9 +3,9 @@ * Loads and displays Kohana view files. Can also handle output of some binary * files, such as image, Javascript, and CSS files. * - * $Id: View.php 4679 2009-11-10 01:45:52Z isaiah $ + * $Id: View.php 4729 2009-12-29 20:35:19Z isaiah $ * - * @package Core + * @package Kohana * @author Kohana Team * @copyright (c) 2007-2009 Kohana Team * @license http://kohanaphp.com/license diff --git a/system/libraries/drivers/Session.php b/system/libraries/drivers/Session.php index 759ccd84..e591b917 100644 --- a/system/libraries/drivers/Session.php +++ b/system/libraries/drivers/Session.php @@ -2,9 +2,9 @@ /** * Session driver interface * - * $Id: Session.php 4679 2009-11-10 01:45:52Z isaiah $ + * $Id: Session.php 4729 2009-12-29 20:35:19Z isaiah $ * - * @package Core + * @package Kohana * @author Kohana Team * @copyright (c) 2007-2009 Kohana Team * @license http://kohanaphp.com/license diff --git a/system/libraries/drivers/Session/Cache.php b/system/libraries/drivers/Session/Cache.php index c0d4d0a4..459f8b0e 100644 --- a/system/libraries/drivers/Session/Cache.php +++ b/system/libraries/drivers/Session/Cache.php @@ -10,9 +10,9 @@ * Lifetime does not need to be set as it is * overridden by the session expiration setting. * - * $Id: Cache.php 4679 2009-11-10 01:45:52Z isaiah $ + * $Id: Cache.php 4729 2009-12-29 20:35:19Z isaiah $ * - * @package Core + * @package Kohana * @author Kohana Team * @copyright (c) 2007-2009 Kohana Team * @license http://kohanaphp.com/license diff --git a/system/libraries/drivers/Session/Cookie.php b/system/libraries/drivers/Session/Cookie.php index ef575cab..88f5e218 100644 --- a/system/libraries/drivers/Session/Cookie.php +++ b/system/libraries/drivers/Session/Cookie.php @@ -2,9 +2,9 @@ /** * Session cookie driver. * - * $Id: Cookie.php 4679 2009-11-10 01:45:52Z isaiah $ + * $Id: Cookie.php 4729 2009-12-29 20:35:19Z isaiah $ * - * @package Core + * @package Kohana * @author Kohana Team * @copyright (c) 2007-2009 Kohana Team * @license http://kohanaphp.com/license diff --git a/system/libraries/drivers/Session/Database.php b/system/libraries/drivers/Session/Database.php index cbe76001..7b372d2d 100644 --- a/system/libraries/drivers/Session/Database.php +++ b/system/libraries/drivers/Session/Database.php @@ -2,9 +2,9 @@ /** * Session database driver. * - * $Id: Database.php 4679 2009-11-10 01:45:52Z isaiah $ + * $Id: Database.php 4729 2009-12-29 20:35:19Z isaiah $ * - * @package Core + * @package Kohana * @author Kohana Team * @copyright (c) 2007-2009 Kohana Team * @license http://kohanaphp.com/license diff --git a/system/messages/kohana/core.php b/system/messages/kohana/core.php index 1361809b..0fa66b02 100644 --- a/system/messages/kohana/core.php +++ b/system/messages/kohana/core.php @@ -2,7 +2,7 @@ /** * Core Kohana messages * - * @package Core + * @package Kohana * @author Kohana Team * @copyright (c) 2009 Kohana Team * @license http://kohanaphp.com/license -- cgit v1.2.3