aboutsummaryrefslogtreecommitdiffstats
path: root/include/plugin.php
diff options
context:
space:
mode:
authorAndrzej Budziński <andrzej@budzinski.ovh>2021-02-03 15:00:24 +0100
committerAndrzej Budziński <andrzej@budzinski.ovh>2021-02-03 15:00:24 +0100
commitba73845badef5c653c05c70ca27a5b37e2f25f97 (patch)
tree6b22545076df5f80b8714f07e92a518af24f0dc5 /include/plugin.php
parent7ece28b9814e6bc7ea2879335520641561dc0ba5 (diff)
parent34b28cd8d36c7805e65c442ff1588ccf5165387a (diff)
downloadvolse-hubzilla-ba73845badef5c653c05c70ca27a5b37e2f25f97.tar.gz
volse-hubzilla-ba73845badef5c653c05c70ca27a5b37e2f25f97.tar.bz2
volse-hubzilla-ba73845badef5c653c05c70ca27a5b37e2f25f97.zip
Merge branch 'dev' into translation-pl
Diffstat (limited to 'include/plugin.php')
-rw-r--r--include/plugin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/plugin.php b/include/plugin.php
index c789ad522..269903373 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';