updated context, metatag, imagestyleflush, browscap
This commit is contained in:
@@ -20,25 +20,43 @@ to retrieve and update its user agent database.
|
||||
|
||||
Note: Some hosting companies have this capability blocked.
|
||||
|
||||
|
||||
Recommendations
|
||||
---------------
|
||||
|
||||
If you are using MySQL, it is recommended to use InnoDB and not MyISAM as the
|
||||
table storage engine. (InnoDB is the default for Drupal 7.) MyISAM does not
|
||||
support transactions, and without transactions Browscap may not return correct
|
||||
browser information while new Browscap data is being loaded.
|
||||
|
||||
|
||||
Installation
|
||||
------------
|
||||
|
||||
Browscap can be installed via the standard Drupal installation process.
|
||||
http://drupal.org/node/895232
|
||||
https://drupal.org/node/895232
|
||||
|
||||
|
||||
API
|
||||
---
|
||||
|
||||
Modules can make use of browscap data by calling browscap_get_browser()
|
||||
anywhere they would otherwise call the PHP get_browser()
|
||||
(http://us3.php.net/manual/en/function.get-browser.php) function.
|
||||
(https://secure.php.net/manual/en/function.get-browser.php) function.
|
||||
|
||||
Note: browser_name_regex is not returned.
|
||||
|
||||
|
||||
Drush integration
|
||||
-----------------
|
||||
|
||||
To import the data via drush, use `drush browscap-import`.
|
||||
|
||||
|
||||
Credits
|
||||
-------
|
||||
|
||||
Development of Browscap is sponsored by Acquia (http://www.acquia.com) and the
|
||||
Development of Browscap is sponsored by Acquia (https://www.acquia.com) and the
|
||||
Ontario Ministry of Northern Development and Mines (http://www.mndm.gov.on.ca).
|
||||
|
||||
A special thanks goes out to Gary Keith (http://www.garykeith.com) who provides
|
||||
|
||||
Reference in New Issue
Block a user