mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-28 15:17:42 +02:00
Better error, fixes #1934
git-svn-id: http://svn.automattic.com/wordpress/trunk@3212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6ff1b1af48
commit
b5dee82b85
@ -739,7 +739,7 @@ class wpdbBackup {
|
||||
if ( @ mkdir( ABSPATH . $this->backup_dir) ) {
|
||||
@ chmod( ABSPATH . $this->backup_dir, $dir_perms);
|
||||
} else {
|
||||
echo '<div class="updated error"><p align="center">' . __('WARNING: Your wp-content directory is <strong>NOT</strong> writable! We can not create the backup directory.', 'wp-db-backup') . '<br />' . ABSPATH . "</p></div>";
|
||||
echo '<div class="updated error"><p align="center">' . __('WARNING: Your wp-content directory is <strong>NOT</strong> writable! We can not create the backup directory.', 'wp-db-backup') . '<br />' . ABSPATH . $this->backup_dir . "</p></div>";
|
||||
$WHOOPS = TRUE;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user