summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README2
-rw-r--r--config.php.sample3
-rw-r--r--lib/common.php1
3 files changed, 6 insertions, 0 deletions
diff --git a/README b/README
index 07957c09e..1c2cbe681 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 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',