Compare commits

..

3 Commits

Author SHA1 Message Date
rottenwheel
4e54935c2c
index: update GitHub repository link 2024-09-06 19:40:39 +00:00
rottenwheel
a45ca6b2b6
Update config.dist.php 2024-09-06 19:37:44 +00:00
Kumi
814772b571
chore(config): update URLs and attribution settings in config example
Updated various URLs including clearnet, Tor, and Git repository links to reflect the new domain changes. Added a new 'Private.coffee' link to footer links.
2024-09-06 13:25:16 +02:00
2 changed files with 7 additions and 6 deletions

View File

@ -1,13 +1,14 @@
<?php
return [
'servers_guru' => true, // Show the "Servers Guru" attribution link in the info text
'attribution' => '', // Custom attribution HTML to show in the info text
'footer_links' => [ // Custom links to show in the footer
['text' => 'Clearnet', 'url' => 'https://calc.revuo-xmr.com'],
['text' => 'Tor', 'url' => 'http://calc.revuo75joezkbeitqmas4ab6spbrkr4vzbhjmeuv75ovrfqfp47mtjid.onion']
['text' => 'Tor', 'url' => 'http://calc.revuo75joezkbeitqmas4ab6spbrkr4vzbhjmeuv75ovrfqfp47mtjid.onion'],
['text' => 'Revuo Monero', 'url' => 'https://www.revuo-xmr.com/']
],
'preferred_currencies' => [ // Currencies that should be displayed at the top of the lists
'usd', 'eur', 'gbp', 'cad', 'btc', 'eth', 'ltc'
],
'github_url' => 'https://github.com/rottenwheel/moner.ooo/',
'github_url' => 'https://github.com/rottenwheel/moner.ooo/', // URL to the GitHub repository - replace if you forked the project
'servers_guru' => false, // Show the "Servers Guru" attribution link in the info text - here for upstream compatibility
];

View File

@ -26,7 +26,7 @@ if (file_exists('config.php')) {
$display_servers_guru = isset($config['servers_guru']) && $config['servers_guru'] === true;
$attribution = isset($config['attribution']) ? $config['attribution'] : '';
$preferred_currencies = isset($config['preferred_currencies']) ? $config['preferred_currencies'] : [];
$github_url = isset($config['github_url']) ? $config['github_url'] : 'https://git.private.coffee/kumi/moner.ooo/';
$github_url = isset($config['github_url']) ? $config['github_url'] : 'https://github.com/rottenwheel/moner.ooo/';
// Extract the keys
$currencies = array_map('strtoupper', array_keys($api_cg));