php代码:--------------------------------------------------------------------------------
<?php
require('includes/application_top.php');
if ($http_get_vars['action']) {
switch ($http_get_vars['action']) {
case 'forget':
tep_db_query("delete from " . table_configuration . " where configuration_key = 'db_last_restore'");
$messagestack->add_session(success_last_restore_cleared, 'success');
tep_redirect(tep_href_link(filename_backup));
break;
case 'backupnow':
tep_set_time_limit(0);
$schema = '# citespa, open source e-commerce solutions' . "\n" .
'# <a href="http://www.xxxxxx.com" target="_blank">http://www.xxxxxx.com</a>' . "\n" .
'#' . "\n" .
'# database backup for ' . store_name . "\n" .
'# copyright (c) ' . date('y') . ' ' . store_owner . "\n" .
'#' . "\n" .
'# database: ' . db_database . "\n" .
'# database server: ' . db_server . "\n" .
'#' . "\n" .
'# backup date: ' . date(php_date_time_format) . "\n\n";
$tables_query = tep_db_q
| 对此文章发表了评论 |
