  |
1 | 1 | | <?php |
| |
2 | 2 | | /* |
  |
3 | | - | $Id: backup.php,v 1.60 2003/06/29 22:50:51 hpdl Exp $ |
| |
| 3 | + | $Id: backup.php 1755 2007-12-21 14:02:36Z hpdl $ |
|
4 | 4 | | |
| |
5 | 5 | | osCommerce, Open Source E-Commerce Solutions |
| |
6 | 6 | | http://www.oscommerce.com |
| |
7 | 7 | | |
  |
8 | | - | Copyright (c) 2003 osCommerce |
| |
| 8 | + | Copyright (c) 2007 osCommerce |
|
9 | 9 | | |
| |
10 | 10 | | Released under the GNU General Public License |
| |
11 | 11 | | */ |
| |
|
|
 |
… |
|
260 | 260 | | tep_db_query("delete from " . TABLE_SESSIONS); |
| |
261 | 261 | | |
| |
262 | 262 | | tep_db_query("delete from " . TABLE_CONFIGURATION . " where configuration_key = 'DB_LAST_RESTORE'"); |
  |
263 | | - | tep_db_query("insert into " . TABLE_CONFIGURATION . " values ('', 'Last Database Restore', 'DB_LAST_RESTORE', '" . $read_from . "', 'Last database restore file', '6', '', '', now(), '', '')"); |
| |
| 263 | + | tep_db_query("insert into " . TABLE_CONFIGURATION . " values (null, 'Last Database Restore', 'DB_LAST_RESTORE', '" . $read_from . "', 'Last database restore file', '6', '0', null, now(), '', '')"); |
  |
264 | 264 | | |
| |
265 | 265 | | if (isset($remove_raw) && ($remove_raw == true)) { |
| |
266 | 266 | | unlink($restore_from); |