summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-01-15 22:40:56 +0000
committerEvan Prodromou <evan@controlyourself.ca>2009-01-15 22:40:56 +0000
commit2b2fb276219f87cdc0430d91ac3695e098ae48f4 (patch)
tree1057fe7ffe0648245f75ad7f347565515a8c43ed
parent7ce054b1ed0f4af923aa4e041005d514a7358056 (diff)
Fix use of $config in licenses
-rw-r--r--lib/action.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/action.php b/lib/action.php
index 9df39e9a8..d5060758e 100644
--- a/lib/action.php
+++ b/lib/action.php
@@ -432,13 +432,13 @@ class Action extends HTMLOutputter // lawsuit
$this->text(_('Unless otherwise specified, contents of this site are copyright by the contributors and available under the '));
$this->element('a', array('class' => 'license',
'rel' => 'external license',
- 'href' => $config['license']['url']),
- $config['license']['title']);
+ 'href' => common_config('license', 'url')),
+ common_config('license', 'title'));
$this->text(_('. Contributors should be attributed by full name or nickname.'));
$this->elementEnd('p');
$this->element('img', array('id' => 'license_cc',
- 'src' => $config['license']['image'],
- 'alt' => $config['license']['title']));
+ 'src' => common_config('license', 'image'),
+ 'alt' => common_config('license', 'title')));
$this->elementEnd('dd');
}