Plugin Directory

Changeset 1878475


Ignore:
Timestamp:
05/21/2018 02:21:22 PM (8 years ago)
Author:
DaganLev
Message:

changed hosts

Location:
really-simple-backup
Files:
5 added
3 edited

Legend:

Unmodified
Added
Removed
  • really-simple-backup/trunk/backup.php

    r1634039 r1878475  
    66
    77if(current_user_can('manage_options')){
    8     doBackup();
     8    try {
     9        doBackup();
     10    } catch (Exception $e) {
     11        echo 'Error';
     12    }
    913}else{
    1014    echo 'Error - not logged in...';
     
    2731    $dumpOutput = 0;
    2832    if(isset($_POST['database']) && $_POST['database']=='on'){
    29         system('mysqldump -u' . DB_USER . ' -p\'' . DB_PASSWORD . '\' ' . DB_NAME . ' > ' . $backupDir . '/dump.sql',$dumpOutput);
     33        system('mysqldump -u' . DB_USER . ' -h'. DB_HOST .' -p\'' . DB_PASSWORD . '\' ' . DB_NAME . ' > ' . $backupDir . '/dump.sql',$dumpOutput);
    3034    }
    3135
  • really-simple-backup/trunk/readme.txt

    r1634039 r1878475  
    44Requires at least: 3.1
    55Tested up to: 3.8.1
    6 Stable tag: 1.3.3
     6Stable tag: 1.3.4
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    5555= 1.3.3 =
    5656Fixed user issues
     57
     58= 1.3.4 =
     59Fixed host issues
  • really-simple-backup/trunk/really-simple-backup.php

    r1634039 r1878475  
    33Plugin Name: Really Simple Backup
    44Description: A simple backup of your Theme, Uploads, Plugins and Database - proceed at your own risk...
    5 Version: 1.3.3
     5Version: 1.3.4
    66Author: Hotscot
    77
Note: See TracChangeset for help on using the changeset viewer.