From 417524dbc1b90edd7a20f3fe1b2a345c46d6fd5e Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Tue, 19 Aug 2025 18:19:41 +0300 Subject: [PATCH] Update install.php --- install.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/install.php b/install.php index 83a930ca5..b3929f5ae 100644 --- a/install.php +++ b/install.php @@ -346,9 +346,11 @@ if (!empty($DB_HOST) && !empty($DB_DATABASE) && !empty($DB_USERNAME)) { } break; } - out('Note: These configuration files include settings specific to TorrentPier, such as URL rewriting, security headers, and PHP handling', 'info'); - out('Adapt them to your environment and web server setup', 'info'); - sleep(3); + if (in_array($webserver, ['nginx', 'caddy'])) { + out('Note: These configuration files include settings specific to TorrentPier, such as URL rewriting, security headers, and PHP handling', 'info'); + out('Adapt them to your environment and web server setup', 'info'); + sleep(3); + } // Cleanup... if (is_file(BB_ROOT . '_cleanup.php')) {