Fix static analysis failures

This commit is contained in:
Bob Mottram 2018-03-02 19:47:04 +00:00
parent 82ca75d2fa
commit 02627accb1
1 changed files with 2 additions and 2 deletions

View File

@ -116,7 +116,7 @@ function friendica_channel_directory_server {
data=$(mktemp 2>/dev/null) data=$(mktemp 2>/dev/null)
dialog --title $"Friendica channel directory server" \ dialog --title $"Friendica channel directory server" \
--backtitle $"Freedombone Control Panel" \ --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=$? sel=$?
case $sel in case $sel in
0) 0)
@ -521,7 +521,7 @@ function install_friendica {
echo " # server, which is entirely possible with php-fpm/php-fcgi."; 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 " # 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 " # 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 ' # NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini';
echo ' fastcgi_split_path_info ^(.+\.php)(/.+)$;'; echo ' fastcgi_split_path_info ^(.+\.php)(/.+)$;';
echo ' # With php-cgi alone:'; echo ' # With php-cgi alone:';