diff --git a/setup.php b/setup.php index 68ebce0..daba584 100755 --- a/setup.php +++ b/setup.php @@ -8,7 +8,7 @@ if (!file_exists('/var/www/html/.env')) { $cmd = getopt("", ["sqlite", "mysql", "mariadb", "pgsql", "shared"]); -$key = `openssl rand -base64 32 | tr -d '=' | tr -d '+' | tr -d '/' | tr -d ' '`; +$key = shell_exec("openssl rand -base64 32 | tr -d '=' | tr -d '+' | tr -d '/' | tr -d ' '"); $key = substr($key, 0, 32); $database_url = null; $getCreds = true;