cakephp2-php8/lib/Cake
Mark Story mark@mark-story.com bb3a1d546b Fixing RequesHandler::prefers(). It was previously entirely wrong.
It took the ordered list of accept types, and blindly assumed
the first in the list was the most preferred.  This is an incorrect
assumption to make, as all types with the same q value are equal.

- Using CakeRequest::parseAccept() to access only the most preferred
content types.
- Using in_array() to check for the desired type.
- Updating tests for RequestHandler.
2011-09-01 00:20:54 +01:00
..
Cache Adding a file_exists() check before unlinking cache files. 2011-08-27 11:52:29 -04:00
Config Updating version numbers to 2.0.0-beta 2011-07-26 13:20:27 -04:30
Configure Removing trailing spaces. 2011-08-15 23:55:08 -04:00
Console Fixing bug in SchemaShell where it would always force a read on all tables 2011-08-30 00:07:57 -04:30
Controller Fixing RequesHandler::prefers(). It was previously entirely wrong. 2011-09-01 00:20:54 +01:00
Core Fixing issue where CakeTestCase would erase custom bootstrapped paths in tearDown(). 2011-08-29 22:14:18 -04:00
Error Removing trailing spaces. 2011-08-15 23:55:08 -04:00
I18n Merge branch '1.3' into merger 2011-08-28 22:08:49 -04:00
Log Added visibility in some methods and attributes. 2011-08-18 22:30:28 -04:00
Model Adding extra information about DboSource::fetchAll() and result caching. 2011-08-31 22:52:33 +01:00
Network Refactoring how q values are parsed, as content types were 2011-09-01 00:20:54 +01:00
Routing Merge branch '2.0-api-doc' into 2.0 2011-08-26 20:22:26 -04:00
Test Fixing RequesHandler::prefers(). It was previously entirely wrong. 2011-09-01 00:20:54 +01:00
TestSuite Fixing issue where CakeTestCase would erase custom bootstrapped paths in tearDown(). 2011-08-29 22:14:18 -04:00
Utility Merge branch '1.3' into merger 2011-08-28 22:08:49 -04:00
View Fixed some problems caused by the visibility changes. 2011-08-21 01:04:55 -04:00
basics.php Updating all @package annotations in doc blocks 2011-07-26 01:46:14 -04:30
bootstrap.php Adding a constant for TIME_START as $_SERVER[REQUEST_TIME] is only 2011-08-22 20:44:32 -04:00
LICENSE.txt Updating the copyright to 2011. 2011-05-30 22:32:43 -04:00
VERSION.txt Updating version numbers to 2.0.0-beta 2011-07-26 13:20:27 -04:30