Changeset 1232661
- Timestamp:
- 08/27/2015 09:47:25 PM (11 years ago)
- Location:
- php-browser-detection/trunk
- Files:
-
- 2 edited
-
php-browser-detection.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
php-browser-detection/trunk/php-browser-detection.php
r1232639 r1232661 4 4 Plugin URI: http://wordpress.org/extend/plugins/php-browser-detection/ 5 5 Description: Use PHP to detect browsers for conditional CSS or to detect mobile phones. 6 Version: 3.1. 56 Version: 3.1.6 7 7 Author: Mindshare Studios, Inc. 8 8 Author URI: https://mind.sh/are … … 41 41 require_once('lib/Browscap.php'); 42 42 43 $browscap = new \phpbrowscap\Browscap(apply_filters('php_browser_detection_cache_dir', PBD_DIR_PATH . 'cache'));44 $browscap->doAutoUpdate = apply_filters('php_browser_detection_autoupdate', TRUE);45 $browscap->updateInterval = apply_filters('php_browser_detection_cache_time', 2592000); // 30 days, default is 546 $browscap->remoteIniUrl = apply_filters('php_browser_detection_version', "http://browscap.org/stream?q=Lite_PHP_BrowsCapINI");47 48 43 $browser_info = php_browser_info(); 49 44 … … 58 53 */ 59 54 function php_browser_info() { 60 global $browscap; 55 56 $browscap = new \phpbrowscap\Browscap(apply_filters('php_browser_detection_cache_dir', PBD_DIR_PATH . 'cache')); 57 $browscap->doAutoUpdate = apply_filters('php_browser_detection_autoupdate', TRUE); 58 $browscap->updateInterval = apply_filters('php_browser_detection_cache_time', 2592000); // 30 days, default is 5 59 $browscap->remoteIniUrl = apply_filters('php_browser_detection_version', "http://browscap.org/stream?q=Lite_PHP_BrowsCapINI"); 61 60 62 61 return $browscap->getBrowser(NULL, TRUE); -
php-browser-detection/trunk/readme.txt
r1232639 r1232661 3 3 Donate link: http://mind.sh/are/donate/ 4 4 Tags: php, browser detection, browser, internet explorer, iphone, mobile, browscap, detection 5 Version: 3.1. 55 Version: 3.1.6 6 6 Tested up to: 4.3 7 Stable tag: 3.1. 57 Stable tag: 3.1.6 8 8 9 9 PHP Browser Detection is a WordPress plugin used to detect a user's browser. Please report any bugs on the support forums. … … 99 99 100 100 == Changelog == 101 102 = 3.1.6 = 103 * Bugfix for 3.1.5 101 104 102 105 = 3.1.5 =
Note: See TracChangeset
for help on using the changeset viewer.