aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-01-09 20:22:47 +0100
committerMario <mario@mariovavti.com>2021-01-09 20:22:47 +0100
commit2522d42c71baee9caba181566948ae4c899885bd (patch)
tree3089689873f9e96ce705bbf2a92673c61e32da93 /boot.php
parent1294c05a913b2bb012d138e72fb2a0271027c265 (diff)
downloadvolse-hubzilla-2522d42c71baee9caba181566948ae4c899885bd.tar.gz
volse-hubzilla-2522d42c71baee9caba181566948ae4c899885bd.tar.bz2
volse-hubzilla-2522d42c71baee9caba181566948ae4c899885bd.zip
fix some php8 fatal errors
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 1baaf1534..319e579b5 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();