From: Evan Prodromou Date: Wed, 11 Mar 2009 20:21:10 +0000 (-0400) Subject: Document the site-logo configuration option X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=70d5fc46845804507640e354c9d9e06367a53fb0;p=quix0rs-gnu-social.git 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. --- diff --git a/README b/README index 07957c09e9..1c2cbe681f 100644 --- a/README +++ b/README @@ -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 e9052bbf9e..529e86f15f 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 c3d697aeed..7739d94752 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',