Version Description
- fixed false massage an send mail with backup
- removed test code for blank screen and fixed it!
Download this release
Release Info
Developer | danielhuesken |
Plugin | BackWPup – WordPress Backup Plugin |
Version | 1.0.6 |
Comparing to | |
See all releases |
Code changes from version 1.0.5 to 1.0.6
- app/backwpup_dojob.php +3 -3
- app/functions.php +1 -1
- app/options-runnow-iframe.php +1 -5
- backwpup.php +2 -2
- readme.txt +5 -1
app/backwpup_dojob.php
CHANGED
@@ -984,10 +984,10 @@ class backwpup_dojob {
|
|
984 |
$phpmailer->AddAttachment($this->backupdir.'/'.$this->backupfile);
|
985 |
|
986 |
trigger_error(__('Send mail....','backwpup'),E_USER_NOTICE);
|
987 |
-
if (
|
988 |
-
trigger_error(__('Mail send!!!','backwpup'),E_USER_NOTICE);
|
989 |
-
} else {
|
990 |
trigger_error(__('Can not send mail:','backwpup').' '.$phpmailer->ErrorInfo,E_USER_ERROR);
|
|
|
|
|
991 |
}
|
992 |
|
993 |
}
|
984 |
$phpmailer->AddAttachment($this->backupdir.'/'.$this->backupfile);
|
985 |
|
986 |
trigger_error(__('Send mail....','backwpup'),E_USER_NOTICE);
|
987 |
+
if (false == $phpmailer->Send()) {
|
|
|
|
|
988 |
trigger_error(__('Can not send mail:','backwpup').' '.$phpmailer->ErrorInfo,E_USER_ERROR);
|
989 |
+
} else {
|
990 |
+
trigger_error(__('Mail send!!!','backwpup'),E_USER_NOTICE);
|
991 |
}
|
992 |
|
993 |
}
|
app/functions.php
CHANGED
@@ -131,7 +131,7 @@ if ( !defined('ABSPATH') )
|
|
131 |
if (empty($cfg['maxlogs'])) $cfg['maxlogs']=0;
|
132 |
if (empty($cfg['dirtemp'])) {
|
133 |
$rand = substr( md5( md5( SECURE_AUTH_KEY ) ), -5 );
|
134 |
-
$cfg['dirtemp']=str_replace('\\','/',
|
135 |
}
|
136 |
if (empty($cfg['dirlogs'])) {
|
137 |
$rand = substr( md5( md5( SECURE_AUTH_KEY ) ), -5 );
|
131 |
if (empty($cfg['maxlogs'])) $cfg['maxlogs']=0;
|
132 |
if (empty($cfg['dirtemp'])) {
|
133 |
$rand = substr( md5( md5( SECURE_AUTH_KEY ) ), -5 );
|
134 |
+
$cfg['dirtemp']=str_replace('\\','/',get_temp_dir().'backwpup-'.$rand);
|
135 |
}
|
136 |
if (empty($cfg['dirlogs'])) {
|
137 |
$rand = substr( md5( md5( SECURE_AUTH_KEY ) ), -5 );
|
app/options-runnow-iframe.php
CHANGED
@@ -5,9 +5,6 @@ if (file_exists($_GET['wpabs'].'wp-load.php') and is_numeric(trim($_GET['jobid']
|
|
5 |
backwpup_send_no_cache_header();
|
6 |
ignore_user_abort(true);
|
7 |
// flush any buffers and send the headers
|
8 |
-
//@apache_setenv('no-gzip', 1);
|
9 |
-
//@ini_set('zlib.output_compression', 0);
|
10 |
-
//@ini_set('implicit_flush', 1);
|
11 |
@flush();
|
12 |
@ob_flush();
|
13 |
|
@@ -25,7 +22,6 @@ if (file_exists($_GET['wpabs'].'wp-load.php') and is_numeric(trim($_GET['jobid']
|
|
25 |
</html>
|
26 |
<?PHP
|
27 |
} else {
|
28 |
-
|
29 |
-
echo "No Access!!!"
|
30 |
}
|
31 |
?>
|
5 |
backwpup_send_no_cache_header();
|
6 |
ignore_user_abort(true);
|
7 |
// flush any buffers and send the headers
|
|
|
|
|
|
|
8 |
@flush();
|
9 |
@ob_flush();
|
10 |
|
22 |
</html>
|
23 |
<?PHP
|
24 |
} else {
|
25 |
+
header("HTTP/1.0 404 Not Found");
|
|
|
26 |
}
|
27 |
?>
|
backwpup.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: BackWPup
|
|
4 |
Plugin URI: http://danielhuesken.de/portfolio/backwpup/
|
5 |
Description: Backup and more of your WordPress Blog Database and Files.
|
6 |
Author: Daniel Hüsken
|
7 |
-
Version: 1.0.
|
8 |
Author URI: http://danielhuesken.de
|
9 |
Text Domain: backwpup
|
10 |
Domain Path: /lang/
|
@@ -35,7 +35,7 @@ if ( !defined('ABSPATH') )
|
|
35 |
//Set plugin dirname
|
36 |
define('BACKWPUP_PLUGIN_BASEDIR', dirname(plugin_basename(__FILE__)));
|
37 |
//Set Plugin Version
|
38 |
-
define('BACKWPUP_VERSION', '1.0.
|
39 |
//load Text Domain
|
40 |
load_plugin_textdomain('backwpup', false, BACKWPUP_PLUGIN_BASEDIR.'/lang');
|
41 |
//Load functions file
|
4 |
Plugin URI: http://danielhuesken.de/portfolio/backwpup/
|
5 |
Description: Backup and more of your WordPress Blog Database and Files.
|
6 |
Author: Daniel Hüsken
|
7 |
+
Version: 1.0.6
|
8 |
Author URI: http://danielhuesken.de
|
9 |
Text Domain: backwpup
|
10 |
Domain Path: /lang/
|
35 |
//Set plugin dirname
|
36 |
define('BACKWPUP_PLUGIN_BASEDIR', dirname(plugin_basename(__FILE__)));
|
37 |
//Set Plugin Version
|
38 |
+
define('BACKWPUP_VERSION', '1.0.6');
|
39 |
//load Text Domain
|
40 |
load_plugin_textdomain('backwpup', false, BACKWPUP_PLUGIN_BASEDIR.'/lang');
|
41 |
//Load functions file
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=danie
|
|
4 |
Tags: backup, admin, file, Database, mysql, cron, ftp, S3, export
|
5 |
Requires at least: 2.8
|
6 |
Tested up to: 3.0.0
|
7 |
-
Stable tag: 1.0.
|
8 |
|
9 |
Backup and more of your WordPress Blog Database and Files
|
10 |
|
@@ -81,6 +81,10 @@ Pleace mail only littele archives
|
|
81 |
1. Job Page
|
82 |
|
83 |
== Changelog ==
|
|
|
|
|
|
|
|
|
84 |
= 1.0.5 =
|
85 |
* some ABSPATH changes
|
86 |
|
4 |
Tags: backup, admin, file, Database, mysql, cron, ftp, S3, export
|
5 |
Requires at least: 2.8
|
6 |
Tested up to: 3.0.0
|
7 |
+
Stable tag: 1.0.6
|
8 |
|
9 |
Backup and more of your WordPress Blog Database and Files
|
10 |
|
81 |
1. Job Page
|
82 |
|
83 |
== Changelog ==
|
84 |
+
= 1.0.6 =
|
85 |
+
* fixed false massage an send mail with backup
|
86 |
+
* removed test code for blank screen and fixed it!
|
87 |
+
|
88 |
= 1.0.5 =
|
89 |
* some ABSPATH changes
|
90 |
|