Skip to content

Commit

Permalink
Merge branch 'master' of github.com:slims/slims7_cendana
Browse files Browse the repository at this point in the history
  • Loading branch information
buitenzorg812 committed Jul 24, 2016
2 parents 9f2dd6d + fe12324 commit 3cd1316
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/modules/system/backup_proc.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
// time string to append to filename
$time2append = (date('Ymd_His'));
// execute the backup process
exec($sysconf['mysqldump'].' -B '.DB_NAME.' --no-create-db --quick --user='.DB_USERNAME.' --password='.DB_PASSWORD.' > '.$sysconf['backup_dir'].DS.'backup_'.$time2append.'.sql', $outputs, $status);
exec($sysconf['mysqldump'].' -B '.DB_NAME.' --no-create-db --quick --user='.DB_USERNAME.' --password='.DB_PASSWORD.' --host='.DB_HOST.' > '.$sysconf['backup_dir'].DS.'backup_'.$time2append.'.sql', $outputs, $status);
if ($status == COMMAND_SUCCESS || $status == 1) {
$data['user_id'] = $_SESSION['uid'];
$data['backup_time'] = date('Y-m-d H:i"s');
Expand Down

0 comments on commit 3cd1316

Please sign in to comment.