Browse Source

Fixed \n issue on pull request #347

next
gau1991 10 years ago
parent
commit
7dd2840a39
  1. 2
      bin/easyengine

2
bin/easyengine

@ -425,7 +425,7 @@ elif [ "$EE_FIRST" = "site" ]; then
ee_mod_setup_database
# Add Database Information On ee-config.php
echo -e "<?php /ndefine('DB_NAME', '$EE_DB_NAME'); \ndefine('DB_USER', '$EE_DB_USER'); \ndefine('DB_PASSWORD', '$EE_DB_PASS'); \ndefine('DB_HOST', '$EE_MYSQL_HOST'); /n?>" \
echo -e "<?php \ndefine('DB_NAME', '$EE_DB_NAME'); \ndefine('DB_USER', '$EE_DB_USER'); \ndefine('DB_PASSWORD', '$EE_DB_PASS'); \ndefine('DB_HOST', '$EE_MYSQL_HOST'); \n?>" \
&>> /var/www/$EE_DOMAIN/ee-config.php
fi

Loading…
Cancel
Save