diff options
author | Guillaume Mazoyer <gmazoyer@gravitons.in> | 2017-05-21 21:54:41 +0200 |
---|---|---|
committer | Guillaume Mazoyer <gmazoyer@gravitons.in> | 2017-05-21 21:54:41 +0200 |
commit | 115af2a823688eeb8b9021432962db7df2bb6c21 (patch) | |
tree | d76b2cc014d30a9b46248c6843c2c25236c3e902 | |
parent | 3260becd46cd56a1de19501ec0a670990197ed14 (diff) |
Add variable for repository URL.
-rw-r--r-- | includes/config.defaults.php | 3 | ||||
-rw-r--r-- | index.php | 2 |
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 @@ -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>'); } |