Skip to content

Commit 95f1ba9

Browse files
committed
Update configuration directory in docs (#187)
1 parent 2f1f460 commit 95f1ba9

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

docs/general-parameters.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ General parameters
44
Configuration files
55
-------------------
66

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:
88

99
.. code-block:: php
1010
@@ -13,7 +13,7 @@ To configure White Pages, you need to create a local configuration file named ``
1313
1414
?>
1515
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.
1717

1818
.. warning::
1919
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:
3030
$header_name_extra_config = "WP-Extra-Config";
3131
3232
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.
3434

3535
Using Apache, we may set such header using the following:
3636

@@ -71,7 +71,7 @@ Available languages are:
7171
* Italian (it)
7272
* Japanese (ja)
7373

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``.
7575

7676
In order to restrict languages to a specific set add ``$allowed_lang`` array as follows:
7777

docs/quicksearch.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
Quick search
22
============
33

4-
.. note:: Configuration file: ``white-pages/conf/config.inc.local.php``
5-
64
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.
75

86
Activation

0 commit comments

Comments
 (0)