From d5258d5035d1467ff1f19eaf785e6b6bc92c681e Mon Sep 17 00:00:00 2001 From: xiaomlove <353856593@qq.com> Date: Fri, 19 Mar 2021 11:07:29 +0800 Subject: [PATCH] limit img max-width --- include/functions.php | 2 +- nexus/Install/settings.default.php | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/include/functions.php b/include/functions.php index 96ec236f..bd67e256 100644 --- a/include/functions.php +++ b/include/functions.php @@ -221,7 +221,7 @@ function formatCode($text) { } function formatImg($src, $enableImageResizer, $image_max_width, $image_max_height, $imgId = "") { - return addTempCode("\"image\""); + return addTempCode("\"image\""); } function formatFlash($src, $width, $height) { diff --git a/nexus/Install/settings.default.php b/nexus/Install/settings.default.php index 54ed5fd2..b42b9a21 100644 --- a/nexus/Install/settings.default.php +++ b/nexus/Install/settings.default.php @@ -36,13 +36,13 @@ 'autoclean_interval_two' => '1800', 'autoclean_interval_three' => '3600', 'autoclean_interval_four' => '43200', - 'autoclean_interval_five' => '648000', + 'autoclean_interval_five' => '1296000', 'reportemail' => 'nobody@gmail.com', 'invitesystem' => 'no', 'registration' => 'yes', 'showhotmovies' => 'no', 'showclassicmovies' => 'no', - 'showimdbinfo' => 'no', + 'showimdbinfo' => 'yes', 'enablenfo' => 'yes', 'enableschool' => 'no', 'restrictemail' => 'no', @@ -78,8 +78,9 @@ 'startsubid' => NULL, 'logo' => '', 'showlastxforumposts' => 'no', - 'pt_gen_api_point' => 'https://ptgen.rhilip.info', - 'enable_pt_gen_system' => 'yes', + 'pt_gen_api_point' => '', + 'enable_pt_gen_system' => 'no', + 'enable_technical_info' => 'no', ), 'smtp' => array ( @@ -354,7 +355,7 @@ array ( 'mainversion' => 'NexusPHP', 'subversion' => 'v1.6.0-beta4', - 'releasedate' => '2021-03-17', + 'releasedate' => '2021-03-19', 'website' => 'https://nexusphp.org', ), ); \ No newline at end of file