diff --git a/common.php b/common.php index 526a6e1e6..ed951adc8 100644 --- a/common.php +++ b/common.php @@ -263,7 +263,7 @@ function file_write($str, $file, $max_size = LOG_MAX_SIZE, $lock = true, $replac if ($max_size && file_exists($file) && filesize($file) >= $max_size) { $old_name = $file; $ext = ''; - if (preg_match('#^(.+)(\.[^\\/]+)$#', $file, $matches)) { + if (preg_match('#^(.+)(\.[^\\\/]+)$#', $file, $matches)) { $old_name = $matches[1]; $ext = $matches[2]; } diff --git a/library/config.php b/library/config.php index 508f4d1c5..f57618fc5 100644 --- a/library/config.php +++ b/library/config.php @@ -29,7 +29,7 @@ if (!defined('BB_ROOT')) { $domain_name = 'torrentpier.com'; // enter here your primary domain name of your site $domain_name = (!empty($_SERVER['SERVER_NAME'])) ? $_SERVER['SERVER_NAME'] : $domain_name; -$domain_ssl = true; +$domain_ssl = false; $bb_cfg = [];