diff --git a/config.template.php b/config.template.php index 7a229fe..118c5d4 100644 --- a/config.template.php +++ b/config.template.php @@ -110,7 +110,6 @@ function user_ip() { $cfg_fh_username = 'texanarcher'; // Your FaucetHUB username. $cfg_site_name = 'A copy of Sheshire Satʼs Floodgate (development version)'; // The faucet name. $cfg_site_url = 'http://faucet.0xc9.net'; // The URL of the faucet. - $cfg_list_faucet = true; // Whether to include the faucet in the big list of floodgates. /* Set this to the version of the faucet source you are using. (see http://semver.org) * If you change the source, be sure to add "+mod" (modified) to the version! */ diff --git a/index.php b/index.php index 10c84ce..f6817dd 100644 --- a/index.php +++ b/index.php @@ -17,11 +17,6 @@ if (!isset($_GET['rotator'])) header('X-Frame-Options: sameorigin', true); - - if ($cfg_list_faucet) { - include_once $_SERVER['DOCUMENT_ROOT'] . '/lib/flist.php'; - flist_auto(); - } ?> diff --git a/lib/flist.php b/lib/flist.php deleted file mode 100644 index 4b33fb6..0000000 --- a/lib/flist.php +++ /dev/null @@ -1,40 +0,0 @@ - (7 * 24 * 60 * 60)) { // should be 7 days in seconds - $fp = fopen($sentfile, 'w') or die('Unable to open file! (w)'); - fwrite($fp, time()); - fclose($fp); - flist_send(); - } - } else { - $fp = fopen($sentfile, 'w') or die('Unable to open file! (w)'); - fwrite($fp, time()); - fclose($fp); - flist_send(); - } - ignore_user_abort($iua); -} -?>