[geeklog-cvs] geeklog-1.3/public_html/admin database.php,1.17,1.18
dhaun at iowaoutdoors.org
dhaun at iowaoutdoors.org
Sat May 29 07:42:30 EDT 2004
Update of /var/cvs/geeklog-1.3/public_html/admin
In directory www:/tmp/cvs-serv13004
Modified Files:
database.php
Log Message:
Show the command used to call mysqldump in error.log when an error occured.
Index: database.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/admin/database.php,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** database.php 9 May 2004 16:51:45 -0000 1.17
--- database.php 29 May 2004 11:42:27 -0000 1.18
***************
*** 117,120 ****
--- 117,121 ----
'footer'));
COM_errorLog ("Backup Filesize was 0 bytes", 1);
+ COM_errorLog ("Command used for mysqldump: $command", 1);
}
} else {
***************
*** 124,128 ****
$display .= COM_endBlock (COM_getBlockTemplate ('_msg_block',
'footer'));
! COM_errorLog("Backup Error: Bad path or mysqldump does not exist",1);
}
} else {
--- 125,130 ----
$display .= COM_endBlock (COM_getBlockTemplate ('_msg_block',
'footer'));
! COM_errorLog ("Backup Error: Bad path or mysqldump does not exist", 1);
! COM_errorLog ("Command used for mysqldump: $command", 1);
}
} else {
***************
*** 131,135 ****
$display .= $LANG_DB_BACKUP['path_not_found'];
$display .= COM_endBlock (COM_getBlockTemplate ('_msg_block', 'footer'));
! COM_errorLog($_CONF['backup_path'] . " does not exist or is not a directory",1);
}
}
--- 133,137 ----
$display .= $LANG_DB_BACKUP['path_not_found'];
$display .= COM_endBlock (COM_getBlockTemplate ('_msg_block', 'footer'));
! COM_errorLog ("Backup directory '" . $_CONF['backup_path'] . "' does not exist or is not a directory", 1);
}
}
More information about the geeklog-cvs
mailing list