mirror of
https://github.com/myvesta/vesta
synced 2025-07-05 20:41:53 -07:00
v-fix-wordpress-core: move .user.ini
This commit is contained in:
parent
f77f8e8b78
commit
451c9944b9
1 changed files with 3 additions and 0 deletions
|
@ -83,6 +83,9 @@ for f in "$SITE_PATH"/*.php; do
|
||||||
[[ $(basename "$f") == "wp-config.php" ]] && continue
|
[[ $(basename "$f") == "wp-config.php" ]] && continue
|
||||||
mv "$f" "$BACKUP_DIR/"
|
mv "$f" "$BACKUP_DIR/"
|
||||||
done
|
done
|
||||||
|
if [ -f "$SITE_PATH/.user.ini" ]; then
|
||||||
|
mv "$SITE_PATH/.user.ini" "$BACKUP_DIR/"
|
||||||
|
fi
|
||||||
|
|
||||||
# chown -R www-data:www-data "$BACKUP_DIR"
|
# chown -R www-data:www-data "$BACKUP_DIR"
|
||||||
check_result $? "backup failed" > /dev/null
|
check_result $? "backup failed" > /dev/null
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue