diff --git a/admin/admin_logs.php b/admin/admin_logs.php index 260f2d1..7485a9a 100755 --- a/admin/admin_logs.php +++ b/admin/admin_logs.php @@ -1,18 +1,5 @@ dump_sql .= '-- END ecshop v2.x SQL Dump Program '; + $this->dump_sql .= '-- END SQL Dump Program '; $this->put_tables_list($path, $tables); return $tables; @@ -330,13 +318,12 @@ class cls_sql_dump $sys_info['mysql_ver'] = $this->db->version(); $sys_info['date'] = date('Y-m-d H:i:s'); - $head = "-- ecshop v2.x SQL Dump Program\r\n". + $head = "-- SQL Dump Program\r\n". "-- " . $sys_info['web_server'] . "\r\n". "-- \r\n". "-- DATE : ".$sys_info["date"]."\r\n". "-- MYSQL SERVER VERSION : ".$sys_info['mysql_ver']."\r\n". "-- PHP VERSION : ".$sys_info['php_ver']."\r\n". - "-- ECShop VERSION : ".VERSION."\r\n". "-- Vol : " . $vol . "\r\n"; return $head; diff --git a/admin/includes/init.php b/admin/includes/init.php index 47b5e4d..a080d53 100755 --- a/admin/includes/init.php +++ b/admin/includes/init.php @@ -99,7 +99,6 @@ if (strpos(PHP_SELF, '.php/') !== false) exit(); } -/* 创建 ECSHOP 对象 */ $ecs = new ECS($db_name, $prefix); define('DATA_DIR', $ecs->data_dir()); define('IMAGE_DIR', $ecs->image_dir()); diff --git a/admin/includes/lib_template.php b/admin/includes/lib_template.php index bf3f0ff..d85b88d 100755 --- a/admin/includes/lib_template.php +++ b/admin/includes/lib_template.php @@ -1,18 +1,5 @@
-