-
Notifications
You must be signed in to change notification settings - Fork 2
/
wurfl-config.xml
60 lines (48 loc) · 1.82 KB
/
wurfl-config.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?xml version="1.0" encoding="UTF-8"?>
<!--
Document : wurfl-config.xml
Created on : January 16, 2008, 7:07 PM
Description:
Sample Configuration for wurfl-config.
ALL the path are or absolute or relative to the WURFL dir.
taking
e.g absolute path -> /home/fanta/resources/wurfl.xml
CACHE:
provider :
cache provider specifies the caching implementation to use to store
the $request->$deviceID values
possible values are:
- null -> no caching will be used
- file -> it will use the file system( it will use the directory specified by dir element)
- memcache
- apc
params : specify the parameteres for the provider:
e.g if you choose file system caching you need to
specify the cache dir
PERSISTANCE:
It is used for saving the parsed wurf devices
possible values are:
- file -> it will use the file system( it will use the directory specified by dir parameter)
e.g. <params>dir=../cache</params>
- memcache -> it will use the memcache module( specify the server ip to connect
to lik: <params>host=127.0.0.1,port=11211</params>)
- apc
params : specify the parameteres for the provider:
e.g if you choose file system caching you need to
specify the cache dir
-->
<wurfl-config>
<wurfl>
<main-file>wurfl.xml</main-file>
<patches>
<patch>web_browsers_patch.xml</patch>
</patches>
</wurfl>
<persistance>
<provider>file</provider>
<params>dir=cache</params>
</persistance>
<cache>
<provider>null</provider>
</cache>
</wurfl-config>