Browse Source

Fixed 'local: can only be used in a function'

old-stable
gau1991 10 years ago
parent
commit
beab8c1c3d
  1. 2
      bin/update

2
bin/update

@ -482,7 +482,7 @@ if [[ $EE_CURRENT_VERSION < $EE_LATEST_VERSION ]]; then
# Fix PhpMyAdmin config issue
if [ -d /var/www/22222/htdocs/db/pma ]; then
local ee_random=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 7 | head -n1)
ee_random=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 7 | head -n1)
if [ ! -f /var/www/22222/htdocs/db/pma/config.inc.php ]; then
cp -v /var/www/22222/htdocs/db/pma/config.sample.inc.php /var/www/22222/htdocs/db/pma/config.inc.php &>> $EE_COMMAND_LOG \

Loading…
Cancel
Save