|
|
@@ -133,7 +133,7 @@
|
|
|
archive will create a <filename>wurfl-php-1.1</filename> directory.
|
|
|
</para>
|
|
|
|
|
|
- <programlisting language="text">
|
|
|
+ <programlisting language="text"><![CDATA[
|
|
|
library
|
|
|
|-- wurfl-php-1.1
|
|
|
| |-- COPYING
|
|
|
@@ -142,7 +142,7 @@ library
|
|
|
| |-- README
|
|
|
| |-- tests
|
|
|
| `-- WURFL
|
|
|
-</programlisting>
|
|
|
+]]></programlisting>
|
|
|
|
|
|
<para>
|
|
|
Next, create a data and cache directory for the <acronym>WURFL</acronym> database and
|
|
|
@@ -173,7 +173,6 @@ cp library/wurfl-php-1.1/tests/resources/web_browsers_patch.xml data/wurfl/
|
|
|
</para>
|
|
|
|
|
|
<programlisting language="php"><![CDATA[
|
|
|
-<?php
|
|
|
$resourcesDir = dirname(__FILE__) . '/../../data/wurfl/';
|
|
|
|
|
|
$wurfl['main-file'] = $resourcesDir . 'wurfl-latest.zip';
|
|
|
@@ -194,11 +193,11 @@ $configuration['cache'] = $cache;
|
|
|
<varname>[production]</varname> section:
|
|
|
</para>
|
|
|
|
|
|
- <programlisting language="ini">
|
|
|
+ <programlisting language="ini"><![CDATA[
|
|
|
resources.useragent.wurflapi.wurfl_api_version = "1.1"
|
|
|
resources.useragent.wurflapi.wurfl_lib_dir = APPLICATION_PATH "/../library/wurfl-php-1.1/WURFL/"
|
|
|
resources.useragent.wurflapi.wurfl_config_file = APPLICATION_PATH "/configs/wurfl-config.php"
|
|
|
-</programlisting>
|
|
|
+]]></programlisting>
|
|
|
|
|
|
<note>
|
|
|
<para>
|
|
|
@@ -461,10 +460,10 @@ $config = array(
|
|
|
library.
|
|
|
</para>
|
|
|
|
|
|
- <programlisting language="ini">
|
|
|
+ <programlisting language="ini"><![CDATA[
|
|
|
resources.useragent.bot.device.path = APPLICATION_PATH '/../library/Mobile/Device"
|
|
|
resources.useragent.bot.device.prefix = "Mobile_Device"
|
|
|
-</programlisting>
|
|
|
+]]></programlisting>
|
|
|
</listitem>
|
|
|
</varlistentry>
|
|
|
|