Skip to content

Commit 02c9be5

Browse files
committed
[MAJOR] Changing project name to MPOS
* Adjusted mmcfe-ng occurences in code * Adjusted Database strucutre to only supply the full structure * Adjusted default template to MPOS Addresses #643
1 parent e6b803b commit 02c9be5

File tree

199 files changed

+99
-173
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

199 files changed

+99
-173
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion

POOLS.md

Lines changed: 6 additions & 6 deletions

README.md

Lines changed: 11 additions & 19 deletions

public/include/autoloader.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
$setting->getValue('website_mobile_theme') ? $theme = $setting->getValue('website_mobile_theme') : $theme = 'mobile';
2020
} else {
2121
// Use configured theme, fallback to default theme
22-
$setting->getValue('website_theme') ? $theme = $setting->getValue('website_theme') : $theme = 'mmcFE';
22+
$setting->getValue('website_theme') ? $theme = $setting->getValue('website_theme') : $theme = 'mpos';
2323
}
2424
define('THEME', $theme);
2525

public/include/config/admin_settings.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
$aSettings['website'][] = array(
5757
'display' => 'Website theme', 'type' => 'select',
5858
'options' => $aThemes,
59-
'default' => 'mmcFE',
59+
'default' => 'mpos',
6060
'name' => 'website_theme', 'value' => $setting->getValue('website_theme'),
6161
'tooltip' => 'The default theme used on your pool.'
6262
);

public/include/config/global.inc.dist.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
/**
2424
* Database configuration
2525
*
26-
* A MySQL database backend is required for mmcfe-ng.
26+
* A MySQL database backend is required for MPOS.
2727
* Also ensure the database structure is imported!
2828
* The SQL file should be included in this project under the `sql` directory
2929
*
@@ -32,18 +32,18 @@
3232
* port = 3306
3333
* user = 'someuser'
3434
* pass = 'somepass'
35-
* name = 'mmcfe_ng'
35+
* name = 'mpos'
3636
**/
3737
$config['db']['host'] = 'localhost';
3838
$config['db']['user'] = 'someuser';
3939
$config['db']['pass'] = 'somepass';
4040
$config['db']['port'] = 3306;
41-
$config['db']['name'] = 'mmcfe_ng';
41+
$config['db']['name'] = 'mpos';
4242

4343
/**
4444
* Local wallet RPC configuration
4545
*
46-
* mmcfe-ng uses the RPC backend to fetch transactions, blocks
46+
* MPOS uses the RPC backend to fetch transactions, blocks
4747
* and various other things. They need to match your coind RPC
4848
* configuration.
4949
*
@@ -62,9 +62,9 @@
6262
* API configuration to fetch prices for set currency
6363
*
6464
* Explanation:
65-
* mmcfe-ng will try to fetch the current exchange rates
65+
* MPOS will try to fetch the current exchange rates
6666
* from this API URL/target. Currently btc-e and coinchoose
67-
* are supported in mmcfe-ng. If you want to remove the trade
67+
* are supported in MPOS. If you want to remove the trade
6868
* header just set currency to an empty string.
6969
*
7070
* Default (btc-e.com):
@@ -236,7 +236,7 @@
236236
$config['pplns']['blockavg']['blockcount'] = 10;
237237

238238
// Pool target difficulty as set in pushpoold configuration file
239-
// Please also read this for stratum: https://github.com/TheSerapher/php-mmcfe-ng/wiki/FAQ
239+
// Please also read this for stratum: https://github.com/TheSerapher/php-mpos/wiki/FAQ
240240
$config['difficulty'] = 20;
241241

242242

@@ -315,7 +315,7 @@
315315
* enabled : Disable (false) memcache for debugging or enable (true) it
316316
* host : Host IP or hostname
317317
* port : memcache port
318-
* keyprefix : Must be changed for multiple mmcfe-ng instances on one host
318+
* keyprefix : Must be changed for multiple MPOS instances on one host
319319
* expiration : Default expiration time in seconds of all cached keys.
320320
* Increase if caches expire too fast.
321321
* splay : Default randomizer for expiration times.
@@ -325,14 +325,14 @@
325325
* enabled = `true`
326326
* host = `localhost`
327327
* port = 11211
328-
* keyprefix = `mmcfe_ng_`
328+
* keyprefix = `mpos_`
329329
* expiration = 90
330330
* splay = 15
331331
**/
332332
$config['memcache']['enabled'] = true;
333333
$config['memcache']['host'] = 'localhost';
334334
$config['memcache']['port'] = 11211;
335-
$config['memcache']['keyprefix'] = 'mmcfe_ng_';
335+
$config['memcache']['keyprefix'] = 'mpos_';
336336
$config['memcache']['expiration'] = 90;
337337
$config['memcache']['splay'] = 15;
338338

@@ -342,7 +342,7 @@
342342
*
343343
* You can configure the cookie behaviour to secure your cookies more than the PHP defaults
344344
*
345-
* For multiple installations of mmcfe-ng on the same domain you must change the cookie path.
345+
* For multiple installations of MPOS on the same domain you must change the cookie path.
346346
*
347347
* Explanation:
348348
* duration:
@@ -393,7 +393,7 @@
393393
* all data so rendering the page should not take too long anyway.
394394
*
395395
* You can test this out and enable (1) this setting but it's not guaranteed to
396-
* work with mmcfe-ng.
396+
* work with MPOS.
397397
*
398398
* Ensure that the folder `templates/cache` is writable by the webserver!
399399
*
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)