diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-03-11 16:21:10 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-03-11 16:21:10 -0400 |
commit | 70d5fc46845804507640e354c9d9e06367a53fb0 (patch) | |
tree | 2ea5d503caf921b646a36a826c8a3aa5ec3c3373 | |
parent | e6a3e6d4511cbda1dc15def14a33073eb96627e0 (diff) |
Document the site-logo configuration option
The configuration option for site logo wasn't well documented, so I
added it to the README file, config.php.sample, and common.php.
-rw-r--r-- | README | 2 | ||||
-rw-r--r-- | config.php.sample | 3 | ||||
-rw-r--r-- | lib/common.php | 1 |
3 files changed, 6 insertions, 0 deletions
@@ -884,6 +884,8 @@ notice: A plain string that will appear on every page. A good place be escaped. dupelimit: Time in which it's not OK for the same person to post the same notice; default = 60 seconds. +logo: URL of an image file to use as the logo for the site. Overrides + the logo in the theme, if any. db -- diff --git a/config.php.sample b/config.php.sample index e9052bbf9..529e86f15 100644 --- a/config.php.sample +++ b/config.php.sample @@ -37,6 +37,9 @@ $config['site']['path'] = 'laconica'; # Enables extra log information, for example full details of PEAR DB errors #$config['site']['logdebug'] = true; +#To set your own logo, overriding the one in the theme +#$config['site']['logo'] = '/mylogo.png'; + # This is a PEAR DB DSN, see http://pear.php.net/manual/en/package.database.db.intro-dsn.php # Set it to match your actual database diff --git a/lib/common.php b/lib/common.php index c3d697aee..7739d9475 100644 --- a/lib/common.php +++ b/lib/common.php @@ -73,6 +73,7 @@ $config = 'theme' => 'default', 'path' => $_path, 'logfile' => null, + 'logo' => null, 'logdebug' => false, 'fancy' => false, 'locale_path' => INSTALLDIR.'/locale', |