1、在UCenter/data/下找到config.inc.php,打开找到下面2行代码:

define('UC_FOUNDERPW', '3858cdf66b0794bfd435af8c0c3e8712');
define('UC_FOUNDERSALT', '939786');

2、创建新的ucpass.php文件 把下面的代码COPY进去 保存

<?php
$ucfounderpw = '你要设置的密码';
$ucsalt = rand(100000,999999);
$ucfounderpw = md5(md5($ucfounderpw).$ucsalt);
echo $ucfounderpw.'<br />'.$ucsalt;
?>

3、将该PHP文件放到UCenter根目录下
4、在浏览器里打开ucpass这个文件 会看到2行数字 分别替换第1步里的2行数字
5、保存 覆盖原来的 搞定!

标签: Ucenter, 创始人, 密码, 找回

添加新评论