You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/general-parameters.rst
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ General parameters
4
4
Configuration files
5
5
-------------------
6
6
7
-
To configure White Pages, you need to create a local configuration file named ``config.inc.local.php`` in ``white-pages/conf``. For example :
7
+
To configure White Pages, you need to create a local configuration file named ``config.inc.local.php`` in ``/etc/white-pages/``. For example:
8
8
9
9
.. code-block:: php
10
10
@@ -13,7 +13,7 @@ To configure White Pages, you need to create a local configuration file named ``
13
13
14
14
?>
15
15
16
-
White Pages default configuration file is ``white-pages/conf/config.inc.php``. It includes ``config.inc.local.php``. Consequently, you can override all parameters in ``config.inc.local.php``. This prevents you to be disturbed by an upgrade.
16
+
White Pages default configuration file is ``/etc/white-pages/config.inc.php``. It includes ``config.inc.local.php``. Consequently, you can override all parameters in ``config.inc.local.php``. This prevents you to be disturbed by an upgrade.
17
17
18
18
.. warning::
19
19
Do not copy ``config.inc.php`` into ``config.inc.local.php``, as the first one includes the second.
@@ -30,7 +30,7 @@ This feature is disabled by default. To enable it:
30
30
$header_name_extra_config = "WP-Extra-Config";
31
31
32
32
Then if you send the header ``WP-Extra-Config: domain1``, the file
33
-
``conf/config.inc.domain1.php`` will be loaded.
33
+
``/etc/white-pages/config.inc.domain1.php`` will be loaded.
34
34
35
35
Using Apache, we may set such header using the following:
36
36
@@ -71,7 +71,7 @@ Available languages are:
71
71
* Italian (it)
72
72
* Japanese (ja)
73
73
74
-
.. tip:: You can override messages by creating lang files in ``conf/``, for example ``conf/en.inc.php``.
74
+
.. tip:: You can override messages by creating lang files in ``/etc/white-pages/``, for example ``/etc/white-pages/en.inc.php``.
75
75
76
76
In order to restrict languages to a specific set add ``$allowed_lang`` array as follows:
The quick search feature allows to search on multiple attributes (attribute1 or attribute2 or …) with a substring matching (attribute=*query*) by default or an exact matching, see $quick_search_use_substring_match below. The quick search input is located in menu bar.
0 commit comments