array( /** * Whether of not manual parsing is enabled. * * set to false to disable this functionality. */ 'enabled' => true, /** * Location from where the updated browscap file can be downloaded. */ 'url' => 'http://browscap.org/stream?q=Lite_PHP_BrowsCapINI', // only major browsers and search engines //'url' => 'http://browscap.org/stream?q=Full_PHP_BrowsCapINI', // complete file, approx. 3 times the lite version /** * Method used to download the updated browscap file * * Default: 'wrapper' * * possible values are: 'local', 'wrapper', 'curl' */ 'method' => 'wrapper', /** * Optional http proxy configuration, will be used for both the 'wrapper' and 'curl' methods */ 'proxy' => array( /** * hostname or IP address of your proxy * * Note: so "proxy.example.org" or "1.2.3.4", and not "http://proxy.example.org" !!! */ 'host' => null, /** * TCP port number the proxy listens at */ 'port' => null, /** * Authentication type to use * * Default: 'none' * * possible values are: 'none', 'basic', 'ntlm' * * Note that the 'wrapper' method only supports 'basic', all others are evaluated as 'none'! */ 'auth' => 'none', /** * If your proxy requires authentication, specify a username and password */ 'username' => null, 'password' => null, ), /** * Filename for the local browscap.ini file (for method 'local'). * * Default: '' */ 'file' => '/tmp/php_browscap.ini', ), /** * Cache configuration. * * The agent class caches all matched agent strings for future reference * so the browscap file doesn't need to be loaded, as it's quite large. * * Also, the parsed and condensed browscap ini file is stored in cache as * well, so when a new user agent string needs to be looked up, no further * parsing is needed. */ 'cache' => array( /** * Storage driver to use to cache agent class entries. If not defined, * the default driver defined in config/cache.php will be used. * * Default: '' */ 'driver' => '', /** * Cache expiry. * * Number of seconds after which a cached agent result expires. * * Default: 604800 (every 7 days) * * Note that to prevent abuse of the site publishing the browsecap files, * you can not set the expiry time lower than 7200 (2 hours) */ 'expiry' => 604800, /** * Identifier used to store agent class cache elements * * Default: 'fuel.agent' * */ 'identifier' => 'fuel.agent', ), );