From 7794ee5a8840f530093e0df41042dc082df978ae Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 18 Feb 2021 13:32:02 +0000 Subject: php8 warnings --- include/plugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/plugin.php b/include/plugin.php index cfac1b79f..5b041f228 100644 --- a/include/plugin.php +++ b/include/plugin.php @@ -912,7 +912,7 @@ function script_path() { // Some proxy setups may require using http_host - if(intval(App::$config['system']['script_path_use_http_host'])) + if(isset(App::$config['system']['script_path_use_http_host']) && intval(App::$config['system']['script_path_use_http_host'])) $server_var = 'HTTP_HOST'; else $server_var = 'SERVER_NAME'; -- cgit v1.2.3