summaryrefslogtreecommitdiff
path: root/core/config/config.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2008-11-23 16:51:06 +0000
committerTim Almdal <tnalmdal@shaw.ca>2008-11-23 16:51:06 +0000
commit7491e3c44affb89fe28030f8759283bc1b4aa291 (patch)
tree077c14bcee9f68e80e07c8165dbf11ec41107e43 /core/config/config.php
parent7485740d9741021b2016df80b225ae4d82b892d0 (diff)
Add a site-config parameter to the config.php file. Created a core_block:head method to insert the title into the head section. If the config value is false, the default Browse Photos::$item->title is used. A string value with a trailing '-' will append the config value to $item-title. Otherwise, the page title is set with the supplied value.
Diffstat (limited to 'core/config/config.php')
-rw-r--r--core/config/config.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/core/config/config.php b/core/config/config.php
index 9fe668b8..745fd76b 100644
--- a/core/config/config.php
+++ b/core/config/config.php
@@ -135,3 +135,12 @@ $config['modules'] = array
MODPATH . 'atom',
MODPATH . 'search'
);
+
+/**
+ * Set the global site title.
+ * Valid values are:
+ * FALSE: Use the default, which is the album or image title
+ * A string value that ends with '-' will append the string befor the default value
+ * A string value without a trailing '-' will replace the default value.
+ */
+$config['site_title'] = "Gallery3 Rocks";