aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-02-18 13:32:02 +0000
committerMario <mario@mariovavti.com>2021-02-18 13:32:02 +0000
commit7794ee5a8840f530093e0df41042dc082df978ae (patch)
treef2ab53c8fb8a00be3716e51cbc98c41221bd1fd2 /include
parent65068479b9a7afd0d210550bf54fb3b19ed1fbf2 (diff)
downloadvolse-hubzilla-7794ee5a8840f530093e0df41042dc082df978ae.tar.gz
volse-hubzilla-7794ee5a8840f530093e0df41042dc082df978ae.tar.bz2
volse-hubzilla-7794ee5a8840f530093e0df41042dc082df978ae.zip
php8 warnings
Diffstat (limited to 'include')
-rw-r--r--include/plugin.php2
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';