We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 2b2fb276 authored by Evan Prodromou's avatar Evan Prodromou

Fix use of $config in licenses

parent 7ce054b1
......@@ -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');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment