The default configuration file is conf/config.inc.php
, it contains all default values. To edit configuration, you should create conf/config.inc.local.php
and override needed parameters:
<?php
// Override config.inc.php parameters below
?>
Warning
Do not copy config.inc.php
into config.inc.local.php
, as the first one includes the second. You would then create an infinite loop and crash your application.
Tip
Lang is selected from browser configuration. If no matching language is found, the default language is used.
Set default language in $lang
:
$lang = "en";
Tip
You can override messages by creating lang files in conf/
, for example conf/en.inc.php
.
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
:
$logo = "images/ltb-logo.png";
You change the background image with your own. Set the path to image in $background_image
:
$background_image = "images/unsplash-space.jpeg";
To easily customize CSS, you can use a separate CSS file:
$custom_css = "css/custom.css";
You can hide the footer bar:
$display_footer = false;
You can turn on debug mode with $debug
:
$debug = true;
You need to define where Smarty is installed:
define("SMARTY", "/usr/share/php/smarty3/Smarty.class.php");