summaryrefslogtreecommitdiffstats
path: root/system/libraries/User_agent.php
AgeCommit message (Collapse)AuthorFilesLines
2013-01-29Replace is_file() with the faster file_exists()Andrey Andreev1-5/+8
(where it makes sense) Also: - Implemented caching of configuration arrays for smileys, foreign characters and doctypes. - Implemented cascading-style loading of configuration files (except for library configs, DB and constants.php).
2013-01-28Remove unnecessary defined('ENVIRONMENT') checksAndrey Andreev1-1/+1
As suggested in issue #2134 & PR #2149
2013-01-14Replace is_null() with === / !== NULLvlakoff1-1/+1
Exact same behavior, but faster. I also think it's more readable.
2013-01-01[ci skip] Happy new yearAndrey Andreev1-1/+1
2012-11-13Merge pull request #1258 from cryode/feature/robot_mobileAndrey Andreev1-0/+1
Add mobile detection to robot user agents.
2012-11-01Manually apply PR #1594 (fixing phpdoc page-level generation/warnings)Andrey Andreev1-1/+2
Also partially fixes issue #1295, fixes inconsistencies in some page-level docblocks and adds include checks in language files.
2012-10-24Fix #1255Andrey Andreev1-1/+7
2012-05-11User_agent library improvementsAndrey Andreev1-12/+12
2012-04-20Start comment cleanup of librariesTimothy Warren1-15/+105
2012-04-14Add mobile detection to robot user agents.Eric Roberts1-0/+1
2012-04-03Minor style changes and optimizations to the User_agent libraryAndrey Andreev1-27/+27
2012-03-09Bumped CodeIgniter's PHP requirement to 5.2.4.Phil Sturgeon1-1/+1
Yes I know PHP 5.4 just came out, and yes I know PHP 5.3 has lovely features, but there are plenty of corporate systems running on CodeIgniter and PHP 5.3 still is not widely supported enough. CodeIgniter is great for distributed applications, and this is the highest we can reasonably go without breaking support. PHP 5.3 will most likely happen in another year or so. Fingers crossed on that one anyway...
2012-01-02Updating copyright date to 2012Greg Aker1-1/+1
2011-12-27Revert "Abstracting the loading of files in the config directory depending ↵Greg Aker1-4/+9
on environments." This reverts commit 5c1aa631c5f5ec2f6b75ba1158178418e50ba11a.
2011-12-27Merge pull request #831 from narfbg/develop-user-agentGreg Aker1-68/+35
Improve the User agent library
2011-12-27Remove access lines from method descriptionsAndrey Andreev1-24/+0
2011-12-26Replace private with protected, so the class can be easily extendedAndrey Andreev1-16/+16
2011-12-25Improve the User agent libraryAndrey Andreev1-36/+27
2011-12-25Abstracting the loading of files in the config directory depending on ↵Greg Aker1-9/+4
environments.
2011-10-20adding new license file (OSL 3.0) and updating readme to ReSTDerek Jones1-4/+16
added notice of license to all source files. OSL to all except the few files we ship inside of the application folder, those are AFL. Updated license in user guide. incrementing next dev version to 3.0 due to licensing change
2011-09-27Fix a typo on User agent library.cenk1-2/+2
2011-08-10Fixed #378 Robots identified as regular browsers by the User Agent class.Phil Sturgeon1-1/+1
2011-07-02backed out 648b42a75739, which was a NON-trivial whitespace commit. It ↵Derek Jones1-1/+1
broke the Typography class's string replacements, for instance
2011-04-25Fixed double-space typo.Razican1-1/+1
2011-04-19Removing internal references to the EXT constant. Additionally, marked the ↵Greg Aker1-4/+4
constant as deprecated. Use ".php" instead. Also adding upgrade notes from 2.0.2 to 2.0.3.
2011-04-06Made Environment Support optional. Comment out or delete the constant to ↵Phil Sturgeon1-1/+1
stop environment checks.
2011-03-22Fixed logic and removed the error supressingEric Barnes1-6/+5
2011-03-18Fixed coding to match standards from previous releasesEric Barnes1-1/+1
2011-03-17load config files from environment specific locations in core classes, ↵bubbafoley1-1/+10
helpers and libraries
2011-02-06Fixed is_referral to return proper status. Fixes #40Eric Barnes1-1/+5
2011-01-27Automated merge with https://bitbucket.org/ellislab/codeigniterPhil Sturgeon1-30/+65
2011-01-06Altered User agent library so that is_browser(), is_mobile() and is_robot() ↵Phil Sturgeon1-30/+65
can optionally check for a specific browser or mobile device.
2011-01-05Hey look, it's 2011Greg Aker1-1/+1
2010-11-10Changing all class constructors to __construct()Greg Aker1-1/+1
2010-11-10Updating PHP requirements in files 5.1.6Greg Aker1-1/+1
2010-10-04Cleanup of stray spaces and tabsBarry Mieny1-83/+83
2010-01-05updated copyrightsDerek Jones1-1/+1
2009-04-22updated copyrights to 2009Derek Jones1-1/+1
2008-11-13Changing EOL style to LFDerek Allard1-501/+501
2008-09-13updated copyrightRick Ellis1-1/+1
2008-05-13Some sweeping syntax changes for consistency:Derek Jones1-7/+7
(! foo) changed to ( ! foo) || changed to OR changed newline standardization code in various places from preg_replace to str_replace
2008-05-11Removed closing PHP tags, replaced with a comment block identifying the end ↵Derek Jones1-1/+3
of the file
2008-05-11Undoing change committed in r1115Derek Jones1-0/+1
2008-05-11removed closing PHP tag from all framework filesDerek Jones1-1/+0
2008-05-05Added get_dir_file_info(), get_file_info(), and get_mime_by_extension() to ↵Derek Allard1-4/+4
the File Helper. Changed ( ! condition) into (! condition) within the code
2008-01-22Fixed a bug (#3015) in the User Agent library where more then 2 languages ↵Derek Allard1-1/+1
where not reported with languages().
2008-01-21replaced www.codeigniter.com with codeigniter.comDerek Jones1-3/+3
2008-01-18ExpressionEngine Dev Team in creditDerek Allard1-2/+2
2008-01-05added strtolower into charset and lang testDerek Allard1-2/+2
2007-10-04Fixed a typo in the docblock comments that had CodeIgniter spelled CodeIgnitor.Derek Allard1-1/+1