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) ) {
|
if ( @ mkdir( ABSPATH . $this->backup_dir) ) {
|
||||||
@ chmod( ABSPATH . $this->backup_dir, $dir_perms);
|
@ chmod( ABSPATH . $this->backup_dir, $dir_perms);
|
||||||
} else {
|
} 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;
|
$WHOOPS = TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue