mirror of
https://github.com/rottenwheel/moner.ooo.git
synced 2024-11-10 05:03:44 +01:00
Compare commits
3 Commits
58c376da3c
...
4e54935c2c
Author | SHA1 | Date | |
---|---|---|---|
|
4e54935c2c | ||
|
a45ca6b2b6 | ||
|
814772b571 |
@ -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
|
||||
];
|
||||
|
@ -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));
|
||||
@ -106,4 +106,4 @@ foreach (array_reverse($preferred_currencies) as $currency) {
|
||||
|
||||
// Output the HTML
|
||||
require 'templates/index.php';
|
||||
?>
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user