From 02627accb1c65020898cece67183bb35d55d82b0 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 2 Mar 2018 19:47:04 +0000 Subject: [PATCH] Fix static analysis failures --- src/freedombone-app-friendica | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/freedombone-app-friendica b/src/freedombone-app-friendica index 7eee5abe..fab6bcf0 100755 --- a/src/freedombone-app-friendica +++ b/src/freedombone-app-friendica @@ -116,7 +116,7 @@ function friendica_channel_directory_server { data=$(mktemp 2>/dev/null) dialog --title $"Friendica channel directory server" \ --backtitle $"Freedombone Control Panel" \ - --inputbox $"When you click on 'channel directory' this is where Friendica will obtain its list from" 8 60 "$CURR_DIR_SERVER" 2>$data + --inputbox $"When you click on 'channel directory' this is where Friendica will obtain its list from" 8 60 "$CURR_DIR_SERVER" 2>"$data" sel=$? case $sel in 0) @@ -521,7 +521,7 @@ function install_friendica { echo " # server, which is entirely possible with php-fpm/php-fcgi."; echo " # Comment the 'try_files' line out if you set up php-fpm/php-fcgi on"; echo " # another machine. And then cross your fingers that you won't get hacked."; - echo ' try_files $uri $uri/ /index.php;'; + echo " try_files \$uri \$uri/ /index.php;"; echo ' # NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini'; echo ' fastcgi_split_path_info ^(.+\.php)(/.+)$;'; echo ' # With php-cgi alone:';