打印

[BUG反馈] Baze restore BUG

[复制链接]
查看: 1348   回复: 1
跳转到指定楼层
1
darkweb 发表于 2010-7-30 21:01:27 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
control/admin/admin_tool_restore.php

Find
  1. $res = unlink($backup_patch.'backup_'.$restore_name.'_keke_witkey.sql');
复制代码
Replace
  1. $res = unlink($backup_patch.'backup_'.$restore_name.'_'.DBNAME.'.sql');
复制代码
control/admin/tpl/admin_tool_restore.htm

Find
  1. document.location.href='../../data/backup/backup_'+id+'_keke_witkey.sql';
复制代码
Replace
  1. document.location.href='../../data/backup/backup_'+id+'_{DBNAME}.sql';
复制代码
Else and better
  1. document.location.href='{$_K['siteurl']}/data/backup/backup_'+id+'_{DBNAME}.sql';
复制代码
2
坦客 发表于 2010-8-1 11:12:49 | 只看该作者
nice.  it`s  really a bug.
we`ll fix it in our next patch.
您需要登录后才可以回帖   登录 注册

高级模式

|小黑屋|官方微博|QQ空间|每日签到|客客专业威客|众包建站系统 ( 鄂ICP备11009411号-1 )

Powered by Discuz! X3.2 © 2001-2018 Comsenz Inc.