To configure White Pages, you need to create a local configuration file named
white-pages/conf. For example :
<?php // Override config.inc.php parameters below ?>
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.
Do not copy
config.inc.local.php, as the first one includes the second.
You would then create an infinite loop and crash your application.
Lang is selected from browser configuration. If no matching language is found, the default language is used.
Set default language in
$lang = "en";
Available languages are:
You can override messages by creating lang files in
conf/, for example
You can adapt how dates are displayed with specifiers (see strftime reference):
$date_specifiers = "%Y-%m-%d %H:%M:%S (%Z)";
You change the default logo with your own. Set the path to your logo in
$logo = "images/ltb-logo.png";
You change the background image with your own. Set the path to image in
$background_image = "images/unsplash-space.jpeg";
You can define which Hover effect is applied to search result and gallery boxes:
$hover_effect = "grow";
To easily customize CSS, you can use a separate CSS file:
$custom_css = "css/custom.css";
By default, the welcome page is displayed. To change this:
$default_page = "gallery";
You can turn on debug mode with
$debug = true;
You need to define where Smarty is installed: