diff options
author | Mario <mario@mariovavti.com> | 2021-02-18 13:32:02 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-02-18 13:32:02 +0000 |
commit | 7794ee5a8840f530093e0df41042dc082df978ae (patch) | |
tree | f2ab53c8fb8a00be3716e51cbc98c41221bd1fd2 /include | |
parent | 65068479b9a7afd0d210550bf54fb3b19ed1fbf2 (diff) | |
download | volse-hubzilla-7794ee5a8840f530093e0df41042dc082df978ae.tar.gz volse-hubzilla-7794ee5a8840f530093e0df41042dc082df978ae.tar.bz2 volse-hubzilla-7794ee5a8840f530093e0df41042dc082df978ae.zip |
php8 warnings
Diffstat (limited to 'include')
-rw-r--r-- | include/plugin.php | 2 |
1 files changed, 1 insertions, 1 deletions
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'; |