diff --git a/admin/admin_logs.php b/admin/admin_logs.php index adc874f..3942dd7 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 02b7396..b98e152 100755 --- a/admin/includes/init.php +++ b/admin/includes/init.php @@ -40,7 +40,6 @@ else include('../includes/config.php'); } -/* 取得当前ecshop所在的根目录 */ if(!defined('ADMIN_PATH')) { define('ADMIN_PATH','admin'); @@ -99,7 +98,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_common.php b/admin/includes/lib_common.php index bad7111..cafdc7e 100755 --- a/admin/includes/lib_common.php +++ b/admin/includes/lib_common.php @@ -540,7 +540,7 @@ function load_config() if (empty($arr['integrate_code'])) { - $arr['integrate_code'] = 'ecshop'; // 默认的会员整合插件为 ecshop + $arr['integrate_code'] = 'ecshop'; } write_static_cache('shop_config', $arr); } diff --git a/admin/includes/lib_template.php b/admin/includes/lib_template.php index e9cda11..8b13453 100755 --- a/admin/includes/lib_template.php +++ b/admin/includes/lib_template.php @@ -1,18 +1,5 @@ -ECSHOP Menu +Menu @@ -325,7 +312,6 @@ function create_html_editor($input_name, $input_value = '') }); '; $smarty->assign('FCKeditor', $HTML); - /* 修改 by www.68ecshop.com 百度编辑器 end */ } diff --git a/back/includes/lib_template.php b/back/includes/lib_template.php index 6f3d777..e22f0bc 100755 --- a/back/includes/lib_template.php +++ b/back/includes/lib_template.php @@ -1,17 +1,5 @@ -ECSHOP Menu +Menu