diff --git a/Rocksolid_Light/common/faq.php b/Rocksolid_Light/common/faq.php index ad0e39f..50bb639 100644 --- a/Rocksolid_Light/common/faq.php +++ b/Rocksolid_Light/common/faq.php @@ -3,12 +3,13 @@ /* * CHANGE THE LINE BELOW TO 'installed = true once you have edited this filter */ - $installed = false; + $installed = true; // Set this to your administrative email address - $admin = "admin@example.com"; + $admin = "admin@novabbs.com"; include "config.inc.php"; +include "../spoolnews/newsportal.php"; $title .= " - Privacy and FAQ"; include "head.inc"; diff --git a/Rocksolid_Light/common/register.php b/Rocksolid_Light/common/register.php index 8a5388a..5e227b1 100644 --- a/Rocksolid_Light/common/register.php +++ b/Rocksolid_Light/common/register.php @@ -1,5 +1,6 @@ Back'; } -function get_user_config($username, $request) -{ - global $config_dir; - $userconfigpath = $config_dir . "userconfig/"; - $username = strtolower($username); - $userFilename = $userconfigpath . $username; - - if ($userFileHandle = @fopen($userFilename, 'r')) { - while (!feof($userFileHandle)) { - $buffer = fgets($userFileHandle); - if (strpos($buffer, $request . ':') !== FALSE) { - $userdataline = $buffer; - fclose($userFileHandle); - $userdatafound = explode(':', $userdataline); - return trim($userdatafound[1]); - } - } - fclose($userFileHandle); - return FALSE; - } else { - return FALSE; - } -} - function make_key($username) { $key = openssl_random_pseudo_bytes(44); @@ -764,27 +741,6 @@ function create_code($username) return $code; } -function get_config_value($configfile, $request) -{ - global $config_dir; - - if ($configFileHandle = @fopen($config_dir . '/' . $configfile, 'r')) { - while (!feof($configFileHandle)) { - $buffer = fgets($configFileHandle); - if (strpos($buffer, $request . ':') !== FALSE) { - $dataline = $buffer; - fclose($configFileHandle); - $datafound = explode(':', $dataline); - return $datafound[1]; - } - } - fclose($configFileHandle); - return FALSE; - } else { - return FALSE; - } -} - function generateImage($text, $file) { $im = @imagecreate(74, 25) or die("Cannot Initialize new GD image stream"); @@ -826,13 +782,4 @@ function prepareCaptcha($captchaImage) $usedAlphabet = rand(0, 9); $code = $alphabet[$usedAlphabet] . $alphabetsForNumbers[$usedAlphabet][$expression->n1] . $alphabetsForNumbers[$usedAlphabet][$expression->n2]; return ($code); -} - -function format_log_date() -{ - return date('M d H:i:s'); -} - -function logging_prefix() { - return format_log_date() . " [" . $_SERVER['REMOTE_ADDR'] . "]"; } \ No newline at end of file diff --git a/Rocksolid_Light/common/version.txt b/Rocksolid_Light/common/version.txt index d2d6f37..7ef1af8 100644 --- a/Rocksolid_Light/common/version.txt +++ b/Rocksolid_Light/common/version.txt @@ -1 +1 @@ -0.9.160 +0.9.161