From: Joe Z. <jz...@us...> - 2004-04-02 20:11:16
|
Update of /cvsroot/bobs/bobs/inc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30427/inc Modified Files: class_backup.php Log Message: Add server/share description to backup log. Index: class_backup.php =================================================================== RCS file: /cvsroot/bobs/bobs/inc/class_backup.php,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- class_backup.php 29 Dec 2003 02:43:28 -0000 1.9 +++ class_backup.php 2 Apr 2004 19:59:05 -0000 1.10 @@ -207,6 +207,7 @@ $shell = "#!/bin/sh\n"; $shell .= "# Description: Backup files from server\n"; + $shell .= "echo \"Starting backup of $this->server / $this->share\"\n"; $shell .= $backupcommand . "\n"; @@ -253,6 +254,7 @@ $shell = "#!/bin/sh\n"; $shell .= "# Description: Backup files from server\n"; + $shell .= "echo \"Starting backup of $this->server / $this->share\"\n"; $shell .= $backupcommand . "\n"; @@ -319,6 +321,8 @@ $t->assign ('BACKUP_CMD', $backup_cmd); $t->assign ('SESSION_ID', $this->session_id); $t->assign ('SHSTATS', $shstats); + $t->assign ('SERVER', $this->server); + $t->assign ('SHARE', $this->share); $t->assign ('LOCKFILE', $lockfile); $t->parse ('CONTENT', 'content'); $shell = $t->fetch(); @@ -403,6 +407,8 @@ $t->assign ('SESSION_ID', $this->session_id); $t->assign ('SHSTATS', $shstats); $t->assign ('LOCKFILE', $lockfile); + $t->assign ('SERVER', $this->server); + $t->assign ('SHARE', $this->share); $t->parse ('CONTENT', 'content'); $shell = $t->fetch(); |