Home > Backend Development > PHP Tutorial > drupal7创始人root忘记密码的解决方法

drupal7创始人root忘记密码的解决方法

WBOY
Release: 2016-06-13 12:14:18
Original
723 people have browsed it

drupal7创始人root忘记密码的解决办法

在index.php中的drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);之后加入

require_once 'includes/password.inc';echo user_hash_password('111111');die();
Copy after login

运行,得到加密的密文,然后update数据库表users的pass字段。

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template