aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-01-09 19:22:47 +0000
committerMario <mario@mariovavti.com>2021-01-09 20:32:40 +0100
commitfa41527f85f211c013bac3657629f2e23d400d4a (patch)
tree535492535753f176a7162d472ef71a4b8395b5d2 /boot.php
parent39c5e855641b96c4b2053f81c892355ac4e9b2a1 (diff)
downloadvolse-hubzilla-fa41527f85f211c013bac3657629f2e23d400d4a.tar.gz
volse-hubzilla-fa41527f85f211c013bac3657629f2e23d400d4a.tar.bz2
volse-hubzilla-fa41527f85f211c013bac3657629f2e23d400d4a.zip
fix some php8 fatal errors
(cherry picked from commit 2522d42c71baee9caba181566948ae4c899885bd)
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/boot.php b/boot.php
index 5c0f9c19f..f9430bcb5 100755
--- a/boot.php
+++ b/boot.php
@@ -82,11 +82,11 @@ define ( 'DIRECTORY_MODE_STANDALONE', 0x0100); // A detached (off the grid) hub
define ( 'DIRECTORY_REALM', 'RED_GLOBAL');
define ( 'DIRECTORY_FALLBACK_MASTER', 'https://hub.netzgemeinde.eu');
-$DIRECTORY_FALLBACK_SERVERS = array(
+$DIRECTORY_FALLBACK_SERVERS = [
'https://hub.netzgemeinde.eu',
'https://zotsite.net',
'https://hub.libranet.de'
-);
+];
/**
@@ -2017,7 +2017,7 @@ function proc_run(){
}
$args = array_map('escapeshellarg',$args);
- $cmdline = implode($args," ");
+ $cmdline = implode(' ', $args);
if(is_windows()) {
$cwd = getcwd();