Skip to content

Commit

Permalink
fix typos in inc/nginx_install.inc & inc/php_upgrade.inc
Browse files Browse the repository at this point in the history
  • Loading branch information
centminmod committed Oct 6, 2014
1 parent e58ab8b commit 25a9299
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion inc/nginx_install.inc
Expand Up @@ -255,7 +255,7 @@ fi
if [ -f /usr/local/nginx/html/phpi.php ]; then
# Randomize phpi.php filename
NPHP=$(od -vAn -N4 -tx < /dev/urandom)
# NPHP=$(echo ${N} | sed -e 's/\s//')
NPHP=$(echo ${NPHP} | sed -e 's/\s//')
mv /usr/local/nginx/html/phpi.php /usr/local/nginx/html/${NPHP}_phpi.php
chown nginx:nginx /usr/local/nginx/html/${NPHP}_phpi.php
fi
Expand Down
2 changes: 1 addition & 1 deletion inc/php_upgrade.inc
Expand Up @@ -416,7 +416,7 @@ funct_showtempfile
if [ -f /usr/local/nginx/html/phpi.php ]; then
# Randomize phpi.php filename
NPHP=$(od -vAn -N4 -tx < /dev/urandom)
# NPHP=$(echo ${N} | sed -e 's/\s//')
NPHP=$(echo ${NPHP} | sed -e 's/\s//')
mv /usr/local/nginx/html/phpi.php /usr/local/nginx/html/${NPHP}_phpi.php
chown nginx:nginx /usr/local/nginx/html/${NPHP}_phpi.php
fi
Expand Down

0 comments on commit 25a9299

Please sign in to comment.