summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Mazoyer <gmazoyer@gravitons.in>2017-05-21 21:54:41 +0200
committerGuillaume Mazoyer <gmazoyer@gravitons.in>2017-05-21 21:54:41 +0200
commit115af2a823688eeb8b9021432962db7df2bb6c21 (patch)
treed76b2cc014d30a9b46248c6843c2c25236c3e902
parent3260becd46cd56a1de19501ec0a670990197ed14 (diff)
Add variable for repository URL.
-rw-r--r--includes/config.defaults.php3
-rw-r--r--index.php2
2 files changed, 3 insertions, 2 deletions
diff --git a/includes/config.defaults.php b/includes/config.defaults.php
index 06d8cab..b24a547 100644
--- a/includes/config.defaults.php
+++ b/includes/config.defaults.php
@@ -46,7 +46,8 @@ $config = array(
// Release configuration
'release' => array(
'version' => '1.3.0',
- 'codename' => 'Convergence'
+ 'codename' => 'Convergence',
+ 'repository' => 'https://github.com/respawner/looking-glass'
),
// Frontpage configuration
diff --git a/index.php b/index.php
index 7fae898..df8a101 100644
--- a/index.php
+++ b/index.php
@@ -195,7 +195,7 @@ final class LookingGlass {
}
print('<br><br>');
- print('<span class="origin">Powered by <a href="https://github.com/respawner/looking-glass" title="Looking Glass Project">Looking Glass '.$this->release['version'].'</a></span>');
+ print('<span class="origin">Powered by <a href="'.$this->release['repository'].'" title="Looking Glass Project">Looking Glass '.$this->release['version'].'</a></span>');
print('</p>');
print('</div>');
}