Browse Source

date format updated

bugfixes
harshadyeola 10 years ago
parent
commit
235f89c5dd
  1. 2
      src/modules/site/ee_mod_site_backup.sh

2
src/modules/site/ee_mod_site_backup.sh

@ -10,7 +10,7 @@ function ee_mod_site_backup()
# Move htdocs
if [ "$EE_SITE_CURRENT_OPTION" = "HTML" ] || [ "$EE_SITE_CURRENT_OPTION" = "MYSQL" ] || [ "$EE_SITE_CURRENT_OPTION" = "PHP" ]; then
mv $ee_webroot/htdocs $ee_webroot/backup/htdocs/htdocs-$(date +"%m-%d-%y") || ee_lib_error "Unable to create $ee_webroot/htdocs backup, exit status =" $?
mv $ee_webroot/htdocs $ee_webroot/backup/htdocs/htdocs-$(date +"%m-%d-%y:") || ee_lib_error "Unable to create $ee_webroot/htdocs backup, exit status =" $?
mkdir -p $ee_webroot/htdocs
fi

Loading…
Cancel
Save