Browse Source

miner.php allow a separate user settings file

Kano 13 years ago
parent
commit
4e8779053d
1 changed files with 8 additions and 0 deletions
  1. 8 0
      miner.php

+ 8 - 0
miner.php

@@ -60,6 +60,14 @@ $warnfont = '<font color=red><b>';
 $warnoff = '</b></font>';
 $warnoff = '</b></font>';
 $dfmt = 'H:i:s j-M-Y \U\T\CP';
 $dfmt = 'H:i:s j-M-Y \U\T\CP';
 #
 #
+# This below allows you to put your own settings into a seperate file
+# so you don't need to update miner.php with your preferred settings
+# every time a new version is released
+# Just create the file 'myminer.php' in the same directory as
+# 'miner.php' - and put your own settings in there
+if (file_exists('myminer.php'))
+ include_once('myminer.php');
+#
 # Ensure it is only ever shown once
 # Ensure it is only ever shown once
 global $showndate;
 global $showndate;
 $showndate = false;
 $showndate = false;