drupal7创始人root忘记密码的解决办法,drupal7root
在index.php中的drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);之后加入
require_once 'includes/password.inc';
echo user_hash_password('111111');
die();
运行,得到加密的密文,然后update数据库表users的pass字段。
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn